Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 807 Bytes

README.md

File metadata and controls

40 lines (26 loc) · 807 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.

Good luck with the coding!