Curated travel recommendations from tastemakers you love
Destination requires a PostgreSQL database. The easiest way to setup Postgres locally on a Mac is with Postgres.app. You can download and install it from the website.
To run the app locally, clone the repo and then install the dependencies:
gem install bundler
bundle config set --local without 'production'
bundle install
Set up a local .env
file with the appropriate values for your local database:
cp .env.example .env
# Edit .env and add your values
Next, migrate the database:
rails db:migrate
Finally, run the test suite to verify that everything is working correctly:
rails test
If the test suite passes, you'll be ready to run the app in a local server:
rails server
When developing locally, you should also run webpack in another terminal window:
bin/webpack-dev-server