The main site and assets of Rails Girls London website
Ruby HTML CSS JavaScript Makefile
Switch branches/tags
staging_release_20131008-224843 staging_release_20131002-160444 staging_release_20130925-123834 staging_release_20130925-123710 staging_release_20130925-121658 staging_release_20130923-193705 staging_release_20130923-025832 staging_release_20130923-015839 staging_release_20130918-182042 staging_release_20130911-004737 staging_release_20130911-003007 staging_release_20130908-012726 staging_release_20130906-165527 staging_release_20130906-163655 staging_release_20130906-162120 staging_release_20130906-161343 staging_release_20130906-144017 staging_release_20130906-120451 staging_release_20130906-113652 staging_release_20130830-001606 staging_release_20130827-124407 staging_release_20130825-201540 staging_release_20130825-172341 staging_release_20130825-162708 staging_release_20130825-162517 staging_release_20130824-204847 staging_release_20130824-204540 staging_release_20130824-204309 staging_release_20130824-182548 staging_release_20130824-182135 staging_release_20130821-032857 staging_release_20130820-152233 staging_release_20130808-020050 staging_release_20130803-014101 staging_release_20130715-125637 staging_release_20130704-204437 staging_release_20130703-233033 staging_release_20130630-210733 staging_release_20130630-202319 staging_release_20130624-224658 staging_release_20130621-072323 staging_release_20130621-064107 staging_release_20130620-220431 staging_release_20130615-230535 staging_release_20130615-210650 staging_release_20130615-193855 staging_release_20130615-180955 staging_release_20130613-145653 staging_release_20130612-234528 staging_release_20130612-230537 staging_release_20130612-230120 staging_release_20130612-211434 staging_release_20130612-210654 staging_release_20130611-234319 staging_release_20130611-234023 staging_release_20130611-234005 staging_release_20130606-081855 staging_release_20130605-214728 staging_release_20130605-152706 staging_release_20130605-082336 staging_release_20130605-081522 staging_release_20130605-074318 staging_release_20130605-073253 production_release_20131008-230218 production_release_20131002-161557 production_release_20130925-124856 production_release_20130923-233332 production_release_20130923-031106 production_release_20130923-021424 production_release_20130920-213514 production_release_20130906-144325 production_release_20130906-121524 production_release_20130906-114145 production_release_20130830-002503 production_release_20130829-152802 production_release_20130826-214357 production_release_20130826-121107 production_release_20130825-202221 production_release_20130825-201750 production_release_20130825-192133 production_release_20130825-172612 production_release_20130824-204627 production_release_20130824-204345 production_release_20130824-193548 production_release_20130824-191754 production_release_20130824-184551 production_release_20130822-085351 production_release_20130821-033759 production_release_20130821-014046 production_release_20130808-032030 production_release_20130803-015453 production_release_20130803-014445 production_release_20130715-141456 production_release_20130704-211744 production_release_20130704-003828 production_release_20130630-211730 production_release_20130624-225907 production_release_20130621-071910 production_release_20130621-070244 production_release_20130616-161958
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db
lib
log
public
spec
vendor
.gitignore
.rspec
.ruby-version
.travis.yml
Gemfile
Gemfile.lock
Guardfile
Makefile
Procfile
README.md
Rakefile
config.ru
logfile

README.md

Code Climate Build Status Coverage Status

Rails Girls London

This is the website and asset repository for the Rails Girls London website.

This app helps us run our local organisation.

Rails Girls London logo

On the web

Contributing to This Site

  1. Fork the repository
  2. Create your own branch git checkout -b mybranch
  3. Apply your changes
  4. Run rake to verify that the tests are passing
  5. Submit a pull request

Documentation should use Github-flavoured Markdown, but with explicit links.

We use Kippt for collecting resources. The mainpage dynamically pulls in resources from kippt if it's configured. If you'd like to see the links, either sign up for kippt yourself and configure it (look at config/kippt.yml.example for reference), or ask one of the core members for the username/token information. If you don't know what this means, feel free to ask or ignore it all together!

Please stick to Github's style guide

Getting up and running for development and testing

  • bin/rake db:setup
  • bin/rake db:setup RAILS_ENV=test
  • bin/rake db:seed. The application assumes you have at least one city and one Event in your database and the seeds will create these for you.
  • bin/bundle exec rspec. This will run all the tests.

Deployment

Make sure you have access to the Heroku app. One of the organisers can arrange that.

heroku git:remote -r production --app=railsgirlslondon
heroku git:remote -r staging --app=railsgirlslondon-staging

Since we are using Heroku, the deployment is done via a git push to the appropriate remote repository. Since doing it properly involves several steps, we have a Makefile for the deployment. This means you can just use make to deploy:

git checkout staging
make deploy_staging

This will turn on maintenance mode for the staging app, add a tag for the release, push changes to the heroku app, run migrations and turn maintenance mode off again.

Backups

You can create a backup with:

make backup_production
make backup_staging

These commands will create a local copy of the PostgreSQL databases on Heroku.