Skip to content

johncalvinroberts/turtlecamp

Repository files navigation

Rails app generated with lewagon/rails-templates, created by the Le Wagon coding bootcamp team.

Export the staging DB

pg_dump -d turtlecamp_development -f turtlecamp_dev_db.psql
pg_dump -d turtlecamp_production -f turtlecamp_prod_db.psql

Import the staging DB

sed -i -- 's/OWNER\ TO\ turtlecamp/OWNER\ TO\ guochunzhong/g' turtlecamp_prod_db.psql
psql -d postgres
DROP DATABASE turtlecamp_development;
CREATE DATABASE turtlecamp_development WITH ENCODING='UTF8' OWNER='guochunzhong';
\q
psql -d turtlecamp_development -f turtlecamp_prod_db.psql

Setting up the envioroment

1 - Clone the project in your machine

clone [email protected]:johncalvinroberts/turtlecamp.git

2 - Create and update the application.yml file

cd turtlecamp/config
touch application.yml

The information of the yml file is on trello on the notes board

3 - Installing the gems & setup of the db

bundle install
rails g public_activity:migration
rails db:create
rails db:migrate
rails db:seed

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published