Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 840 Bytes

File metadata and controls

46 lines (28 loc) · 840 Bytes

logo

Hi there! Welcome to Bottega Devcamp

Instructions to enter into the bash shell

To startup the Postgres database, the command is:

sudo service postgresql start

To generate a new rails application, the command is:

rails new AppName -T --database=postgresql

Change into the app:

cd AppName

Create and migrate the database:

rails db:create && rails db:migrate

To run the Rails server on C9, the command is:

rails s -b $IP -p $PORT

For more information on how to use Cloud9, visit http://docs.c9.io for our documentation. If you want, you can also go watch some training videos at http://www.youtube.com/user/c9ide.

<<<<<<< HEAD Good luck with the coding!

=======