This site is dedicated to all things ruby in the Edmonton area. Future features will include user accounts, a mailing list, and a job board.
- Clone this repository with
git clone [email protected]:yegrb/yegrb.com.git
- Use rbenv or RVM to install correct version of Ruby (see .ruby-version)
- Make sure to have Postgres installed and configured on system (See below for Mac OSX instructions)
- Copy
.env.example
and rename it.env
. - Fill
.env
environment variables with the administrator details. - Run
bundle install
to install gems - Run
bin/rails db:setup
to create databases - Run
bin/rails db:seed
to create administrator account - You can optionally run
bin/rails db:fill
to fill the site with hilarious fake data. - Create a new branch with
git checkout -b new_branch
- Make modifications and push code with:
git add .
git commit -m 'Describe your changes'
git push
- And open up a pull request on GitHub!
The Meetup API is slow when a lot of separate requests are made, so in-memory caching is used. It is turned on in production automatically but will need to be toggled on in development using rails dev:cache
if you want to utilize it.
First, you need to remove previous versions of PostgreSQL
brew uninstall --force postgresql
Next up, delete all Postgres files
rm -rf /usr/local/var/postgres
Install Postgres with homebrew
brew install postgres
Fire up new PostgreSQL server
pg_ctl -D /usr/local/var/postgres start
Create Database
initdb /usr/local/var/postgres
Drop us a line at: [email protected]