Quizzer is a way to play and create simple text quizzes.
App stack
- Rails
- PostgreSQL
- AngularJS, Bootstrap
- RSpec, Capybara
Heroku app
http://online-quizzes.herokuapp.com/
Bring up a Vagrant VM
vagrant up
Log in
vagrant ssh
Go to the synced folder
cd /vagrant
Run the web server
bundle exec rails s -p 4000 -b 0.0.0.0
Update database connection
sed -i "/timeout/a \\ username: postgres\n password:\n host: postgres" config/database.yml
Start containers
docker-compose up
Setup database
docker-compose run web bundle exec rake db:setup
Install required web components
docker-compose run web bower install --allow-root
bundle exec rake
Quizzer is licensed under the GNU Affero General Public License.