Slam Alphas App
This repo is the open source code for the interactive map of Slam Alphas, a collective of women poetry slam artists in Germany, Austria and Switzerland.
For a project overview of the Github issues, please refer to our Waffle Board.
Ruby 2.6.0, Postgres
Ruby 2.6.0, Postgres and Redis
Credentials for production
env.SAMPLE and .env
- copy the env.SAMPLE into your .env like this
$cp env.SAMPLE .env
- after the creation of the
.envfile fill in your credentials and comment out all the parts you are currently not using
- in order to get the production credentials for your
.envfile you could for example run in the terminal (make sure to be in the project directory:
$ heroku config-> This should then show you the credentials that is associated with our current production database configs on heroku
- now make sure to not check this file into git by putting
.envto the file
- Some gems require to load the credentials first before they can execute (e.g. fog/aws), means we need to make sure the
.envfile is loaded before those gems are running, e.g. by using a gem like dotenv
Running it locally
Clone this repo and cd into it.
$ bundle install to install dependencies.
$ rake db:setup to create and seed the database and run migrations.
If you get an error make sure you have Postgres installed and running. Maybe you also need to check credentials in
$ rails s to start the local development server.