Running CICO - OtagoPolytechnic/opp-cico GitHub Wiki

Now you have configure your Git with an SSH key you are ready to clone the CICO repository to your local machine. Before doing this make sure you have been added as a contributor to the CICO repository or else you won’t be able to commit and push your code.

git clone git@github.com:OtagoPolytechnic/opp-cico.git

After pulling the code you will want to test to see if you can run it on your local machine.

Here is a list of things you will have to do before running CICO.

  • Configure the config/database.yml file with you own PostgreSQL user.

  • Generate a secret token and add it to the config/secrets.yml file.

  • Run rake db:create to create the database.

  • Run rake db:migrate to get your database setup with the necessary tables.

  • Run rake db:seed to insert some test data in the database.

Finally you should be ready to start the server with this command rails server.

You will find the CICO at localhost:3000.

⚠️ **GitHub.com Fallback** ⚠️