Go to file
2016-09-22 14:19:44 -05:00
app move /review to /admin/results 2016-09-22 14:19:44 -05:00
bin Rails5 init 2016-07-26 11:59:23 -05:00
config move /review to /admin/results 2016-09-22 14:19:44 -05:00
db migration and associations 2016-09-15 13:39:50 -05:00
lib rubocop noise: fixes FrozenStringLiteralComment 2016-09-08 10:30:13 -05:00
public add favicon.ico 2016-09-16 08:29:58 -05:00
test move /review to /admin/results 2016-09-22 14:19:44 -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 basic admin policy start 2016-09-19 16:40:56 -05:00
.ruby-version rubocop noise: fixes FrozenStringLiteralComment 2016-09-08 10:30: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 rubocop noise: fixes FrozenStringLiteralComment 2016-09-08 10:30:13 -05:00
erd.pdf migration and associations 2016-09-15 13:39:50 -05:00
Gemfile stop duplicate minitest runs 2016-09-22 09:07:06 -05:00
Gemfile.lock stop duplicate minitest runs 2016-09-22 09:07:06 -05:00
Guardfile stop duplicate minitest runs 2016-09-22 09:07:06 -05:00
package.json organized js assets 2016-09-07 17:45:22 -05:00
Rakefile rubocop noise: fixes FrozenStringLiteralComment 2016-09-08 10:30:13 -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