Go to file
2016-09-07 17:45:50 -05:00
app non-summary question edit bug fix 2016-09-07 17:45:50 -05:00
bin Rails5 init 2016-07-26 11:59:23 -05:00
config organized js assets 2016-09-07 17:45:22 -05:00
db start encoding candidate emails - completes #57 2016-08-26 16:03:55 -05:00
lib reminders in play! 2016-08-02 15:26:26 -05:00
public Rails5 init 2016-07-26 11:59:23 -05:00
test refactor quiz processing 2016-09-02 17:51:35 -05:00
.bowerrc vendor assets 2016-07-28 12:59:20 -05:00
.eslintrc.yml organized js assets 2016-09-07 17:45:22 -05:00
.gitignore premerge cleanup 2016-08-21 14:11:07 -05:00
.rubocop.yml split up answer validation test into themed files 2016-08-16 12:08:13 -05:00
.scss-lint.yml stack up & tweaked 2016-07-26 13:54:04 -05:00
bower.json Refactored foundation style manifest 2016-08-21 13:43:00 -05:00
config.ru Rails5 init 2016-07-26 11:59:23 -05:00
erd.pdf added save routing 2016-07-28 09:37:46 -05:00
Gemfile update rails and restore guard 'run on start' 2016-08-22 16:28:50 -05:00
Gemfile.lock update rails and restore guard 'run on start' 2016-08-22 16:28:50 -05:00
Guardfile refactor quiz processing 2016-09-02 17:51:35 -05:00
package.json organized js assets 2016-09-07 17:45:22 -05:00
Rakefile Rails5 init 2016-07-26 11:59:23 -05:00
README.md removed bitters from container start up scripts too. 2016-08-12 14:27:47 -05:00
rebuild-dev-db.sh big start on QuizStatus 2016-07-27 11:17:50 -05:00
start-dev.sh guardfile work 2016-09-01 15:00:04 -05:00
start-docker.sh brand new docker container and updated readme 2016-08-12 00:24:15 -05:00
start-server.sh guardfile work 2016-09-01 15:00:04 -05:00

Skill Assessment Quiz

This application manages quizzes intended to be used as pre-interview skill assessments.

Development

  • Please use Guard when you are developing
    • bundle exec guard
  • Honor RuboCop warnings
  • Keep tests green
  • Write tests around new development
  • Always pull with rebase!
    • git config --global pull.rebase true
  • Make sure to include any new development data needs in the fixture files
    • test/fixtures/...
  • feature branches are nice, but never merge develop down to them. Instead rebase feature branches onto develop.

Setup

  • clone
  • checkout develop
  • bundle
  • npm install
  • bower install
  • cp config/application.yml.sample config/application.yml
  • edit and update proper values to application.yml
  • rake db:setup
  • rake db:migrate
  • rake db:fixtures:load

Docker

You can develop in this app with a native rails install, if you prefer. However, there is also a docker image setup if you do not want to install all the supporting gems and libraries.

To use the docker container, you need to install and launch docker, which can be found here: https://www.docker.com/products/docker

Once the container is started, you can still edit files from your host project directory.

visit http://localhost:3000 like normal

There are some convenience scripts included to make starting the container and rails app easier.

./start-docker.sh

  • Execute from terminal, on the host machine, in the project directory
  • This will pull the image from dockerhub, if needed
  • Create and start up container

Once in the container:

  • ./start-dev.sh
    • will spin up a dev session with tmux
  • ./start-server.sh
    • starts up just rails server for viewing application

TODOs and notes