TWS is a simple Rails+Postgres app.
Prerequisites:
- Ruby
- Postgres
bundle install
createuser tws -d # create postgres role
rake db:create # create the dev and test databases
gem install mailcatcher # install local mail server interceptor
mailcatcher # start background server to intercept mail
rake db:seed_dev # Loads schema and creates some custom play data
rails s
# Log in with user@tws.com with password `secret1234`
bundle install
rake
In development, all outgoing email will be intercepted by mailcatcher
and will be previewable at http://localhost:1080
. The mailcatcher instance is
automatically started by the dev Procfile. You'll need to run gem install mailcatcher
though, since it's not part of the Gemfile.
Check out our Contributing Guide.
We encourage everyone who contributes to Tea With Strangers' projects to add themselves to the list of TWS team members.
TWS has an open commit bit policy: Anyone with an accepted pull request gets added as a repository collaborator. Please try to follow these simple rules:
-
Commit directly onto the master branch only for typos, improvements to the readme and documentation (please add
[ci skip]
to the commit message). -
Create a feature branch and open a pull request early for any new features to get feedback.
-
Make sure you adhere to the general pull request rules outlined in the contributing guide.