You need PostgreSQL to run the project. Start it and create a user.
Install Redis on your machine and start it. Nothing more.
If you can't, Session and Cache will be done in memory.
-
Pull
git pull
-
Install
bundle install
-
Run migrations
bundle exec rake db:migrate RAILS_ENV=test bundle exec rake db:migrate
You can run this 3 command with:
bundle exec rake code:pull
-
Start zeus if note started
zeus start
-
Run server (in another shell)
zeus server
You can start a server without Zeus
bundle exec rails start
Staging:
zeus rake deploy:test
Production:
zeus rake deploy:prod
Both:
zeus rake deploy:all
bundle exec rake db:populate
Admin:
http://localhost:3000/admin
user:
[email protected]
pass:
[email protected]
En dev, email = mot de pass (pour entreprise et expert)