Very simple rails app for the Swiss Rails usergroup to coexist with our meetup.com group.
Create a configuration file for your local environment and configure meetup_api_key
to use your own Meetup API key. Create your own secrets.yml file with.
cp env.example .env
Paste the Meetup API key in the .env file. The file should now look something like this:
MEETUP_API_KEY: 253116536670112a7855465923462b0a
Install the gems from the gemfile. Run
bundle install
or just bundle
in the console to install the gems for that project.
To set up the database in the project run the command:
rake db:setup
in the console. This project runs on postgresql which you will need to install beforehead if you haven't.
Once configured with your meetup API and set up the database key you may import current meetups using
rails r MeetupJob.new.perform
In case you changed the secrets.yml with your API key and the above command didn't work (for example it returns unauthorized
), try restarting spring.
start the rails server with
bundle exec rails server
alternatively you can run rails s
as a shorthand for it. The server runs on port 3000 by default so you can access the project by typing localhost:3000 in your browser.
Open a github issue with your idea so we can discuss it.
### Implementation
Please open a pull request with your changes. Have a look at the issues to see what needs some love.
rubocop --auto-correct
Send your ssh key to nico@panter.ch to get access to the servers.
For staging server deploy use:
bundle exec cap staging deploy
For production server deploy use:
bundle exec cap production deploy
bundle exec cap production db:pull
Request access to these services by contacting one of the maintainers.
- Hosting: https://ungleich.ch
- Exception tracking: https://rollbar.com
- Continuous integration: https://codeship.com
- Code quality / coverage: https://codeclimate.com