-
Notifications
You must be signed in to change notification settings - Fork 0
Server Installation Instructions
Ryan Endacott edited this page Jun 2, 2014
·
1 revision
- Go to Nitrous.io and create an account.
- In account creation, be sure to choose Ruby on Rails.
- Once the box (your server) is created, go to boxes in the top right corner.
- Choose the box you created and reveal its public key, then copy it.
- Go to your account settings in codeforge and paste the public key in, then hit update.
- Go back to Nitrous.io and click IDE for your box.
- In the console at the bottom, paste
git clone git@codeforge.cs.missouri.edu:swe-sp14gc.gitto get the code. -
cdinto the webserver folder. - Then run the following things in the console in this order:
bundle install --without production stagingrake db:migraterake db:seed
- Then type
rails sto start up the server! Click preview -> port 3000 at the top to view the website in action :D - Edit the files in webserver/app/views (or elsewhere if you want/need to) to your heart's content! The files should update after a refresh in the preview.
Happy hacking! -Ryan
NOTE: You can log in as any account in development mode in order to test features out. There are a list of professor pawprints in db/seed_data/professors.txt. Type one of those pawprints as your username to log in as a professor. For example, you can log in as prof. Anything else with be a student. You can add TAs as a professor, and then log in with the pawprint you specified.