This is the backend app that implements dashboard to teachers, managers and admins and supports iOS App.
- Elasticsearch
- Redis
- Postgresql
- Check if your dependencies are installed correctly.
git clone REPO_URL
cd dunno
bundle
./bin/bootstrap
rake db:setup
rake db:seed
foreman start
- Go to http://localhost:3000
Don't forget to run our bootstrap! It contains our team's workflow!
You still need to configure Pusher ENV vars, used by Pusher. It is recommended to put them on your .bash file. (this example uses a dunno account at Pusher)
$ export PUSHER_APP_ID=65975
$ export PUSHER_KEY=eb2e8026ff09c08e1081
$ export PUSHER_SECRET=45f4a6e227c92884dc2a
Is your first time here? Ok, so you should check some stuff. If some of the checks fails, ask any of the contributors.
Checks you have to do:
-
Do
bundle
works and install all gems accordingly? -
Do
rake db:setup
works? -
Do
rake db:seed
works? -
After run
foreman start
if you go tohttp://localhost:3000
you see something that shows the project is working? -
Is code coverage 100%?
-
Do the project have Rollbar or Airbrake configured in production environment?
-
(optional) You can use pre-commit hooks to validate your code before commiting by:
$ pre-commit install
$ git config pre-commit.checks "HERE_GOES_THE_STUFF_YOU_WANNA_CHECK"
- Create git repo.
- Add remote
$ git remote add origin REPO_URL
. - Push to repo
$ git push --set-upstream origin
.
$ rspec .
Check out this wiki with detailed instruction of how to use the canonical_host to redirect your naked domain to your real app.