2016 Conference Website
Please take a look at our contributing guidelines. We have volunteers who work on our website to make sure it is up-to-date for all of our events. You are welcome to work on it too if you have free time!
- Ruby
- Bundler
gem install bundler
bundle install
Ensure Postgres is running.
bundle exec ./bin/setup
bundle exec rails s
Visit http://localhost:3000/
- Create changes on a feature branch
- Submit a pull request to the
master
branch
Our site is deployed to Heroku. If you have rights, you can publish the site there.
-
Ensure that your remote names match this guide.
upstream
= the official repository and if you have a fork, it should be namedorigin
.$ git remote -vv origin git@github.com:<yourname>/2016.writespeakcode.com.git (fetch) origin git@github.com:<yourname>/2016.writespeakcode.com.git (push) upstream git@github.com:WriteSpeakCode/2016.writespeakcode.com.git (fetch) upstream git@github.com:WriteSpeakCode/2016.writespeakcode.com.git (push)
If yours don't match above, use
git remote rename <oldname> <newname>
to fix it. -
Add the Heroku staging and production apps as remotes to your localhost git repository:
git remote add staging https://git.heroku.com/writespeakcode2016-staging.git git remote add production https://git.heroku.com/writespeakcode2016-production.git
-
Ensure that your master branch is in sync with the upstream GitHub repository, and not your fork. If you run into trouble with this, ask on Slack for help.
You should see that master is tracking
[upstream/master]
.$ git checkout master $ git branch -vv * master 5194208 [upstream/master]
-
Ensure that what you are about to push to Heroku is already synchronized to GitHub.
You should see that your branch is up to date with
upstream/master
.$ git checkout master $ git status Your branch is up-to-date with 'upstream/master'
-
Push to the Heroku staging:
git push staging master
-
Verify that the staging site looks right: https://writespeakcode2016-staging.herokuapp.com/
-
Push to Heroku production:
git push production master
-
View the production website at: http://2016.writespeakcode.com/
The code is available under the MIT license.