These set up instructions assume that you already have the following installed:
- Bundler
- Yarn
- Redis
- PostgreSQL
Fork this repository and run bundle
to install Ruby dependencies.
Run bin/yarn install
to install Webpacker/JS dependencies.
Copy .env.example
to your own .env
file. .env.example
is already
pre-populated with dummy environment variables that are sufficient for local
development and testing.
Ensure PostgreSQL is running and run rake db:setup
to set up a development
database and run migrations locally.
Start the Redis server with redis-server
.
Run bundle exec rails s
to run the Rails server.
You will need to use an older verison of Firefox to run the tests since newer versions of Firefox are incompatible with Selenium. The CI suite specifies Firefox 46, which you can install with Brew Cask:
brew tap goldcaddy77/homebrew-firefox
brew cask install firefox-46
Run rake db:test:prepare
to set up your test database.
Run the test suite with bundle exec rspec
.
Denver Startup Week is a community-run event and we welcome contributions in this same spirit. We do ask that you review the Contribution Guidelines before submitting a pull request.
All contributors and contributions are expected to adhere to the Denver Startup Week Code of Conduct.
MIT