Giter Site home page Giter Site logo

cynaria / tws-on-rails Goto Github PK

View Code? Open in Web Editor NEW

This project forked from teawithstrangers/tws-on-rails

0.0 1.0 0.0 37.95 MB

Core Tea With Strangers application

Home Page: http://teawithstrangers.com

Ruby 39.04% JavaScript 2.23% CSS 23.18% HTML 35.56%

tws-on-rails's Introduction

TWS

Build Status Coverage Status Code Climate

Development

TWS is a simple Rails+Postgres app.

To get it set up locally, ensure you have the latest Ruby version as specified by .ruby-version and PostgreSQL (w. headers) installed, then:

bundle install

# Sync submodules
git submodule update --init

# create a `tws` role in postgres with the
# ability to create databases

createuser tws -d

# set user password to 123456 (change if desired)
echo "ALTER USER tws PASSWORD '123456';" | sudo -u postgres psql

# save the password (same as above) in the environment
# also add this to ~/.bash_profile so that it will always be set
export TWS_DB_PASSWORD=123456

# create the dev and test databases
rake db:create

# Load the schema
rake db:schema:load

# Run the App

foreman start -f Procfile-dev

# For Development
# Create some development data to play arond with
# This includes creating roles
# This will drop the database if it exists and create it again.
rake db:seed_dev

Mail

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.

Development / Contributing

Check out our Contributing Guide.

Open Commit Bit

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.

Contributors

We encourage everyone who contributes to Tea With Strangers' projects to add themselves to the list of TWS teammembers.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.