Loose clone of GitHub Gist, based on requirements for an interview take-home assignment.
- Ruby 2.5.1
- Node / Yarn
- Docker /
docker-compose
(if you want to run postgres via docker)
- Clone the repo
bundle install
andyarn install
to install dependencies- Copy the
.env.example
file to.env
or.env.development
and update the values as necessary docker-compose up -d
launches postgres in a docker container in the backgroundbundle exec rake db:setup
will create the db, load the schema, and seed the db with examples from this codebase./bin/webpack-dev-server
starts the webpack dev server for hot reloading, etc.bundle exec rails s
starts the rails server- Visit http://localhost:3000/