GitXplorerGitXplorer
p

rails_base

public
0 stars
0 forks
12 issues

Commits

List of commits on branch master.
Verified
dac2169d721d6f47745533fd93ebfe5b811a41ee

Merge pull request #18 from phansch/depfu/update/rspec-rails-3.7.2

pphansch committed 7 years ago
Verified
7b0d56e14513102ac7e61200714ba41b12fd85d3

Merge pull request #19 from phansch/depfu/update/puma-3.11.0

pphansch committed 7 years ago
Unverified
21aa01fd2c1e952b8d45aa438431019386159519

Update puma to version 3.11.0

ddepfu[bot] committed 7 years ago
Unverified
429311512aeeecff217e1c4cc34bb881fe3d9134

Update rspec-rails to version 3.7.2

ddepfu[bot] committed 7 years ago
Verified
7ece68f1227d7083724567579ebd6286a3a86bd6

Move header to partial

pphansch committed 7 years ago
Verified
190c4cf168d696e0bfe3ac9b9fee3997f3e68ce8

Setup Guardfile properly. Closes #12

pphansch committed 7 years ago

README

The README file for this repository.

README

Build Status

Using this base template

To create a new Rails project, you have to follow a few steps.

  1. git clone https://github.com/phansch/.git new_project && cd new_project Where new_project is the name of your project.
  2. Run bin/install_base
  3. Run bin/setup
  4. Update config/locales/en.yml for development URLs
  5. Remove this part of the README

Setup

For development and testing you will need to setup your own postgres user:

sudo apt-get update
sudo apt-get install postgresql postgresql-contrib libpq-dev

When the installation is done, login to the postgres user and access the postgresql shell.

sudo su - postgres
psql

Give the postgres user a new password:

\password postgres
Enter new password:

Next, create a new role named 'rails-dev' for the rails development with the command below:

create role rails_dev with createdb login password 'aqwe123';

Finally, setup your config/database.yml

cp config/database.example.yml config/database.yml

Fill in your chosen password and then run bin/setup

Tests

Run rspec spec.

You can use guard during development to only run the tests for files that have been modified.

Deployment

Each time the master branch is pushed to heroku, the app is deployed again.

README TODO

  • Ruby version

  • Configuration

  • How to run the test suite

  • Services (job queues, cache servers, search engines, etc.)