Skip to content
This repository was archived by the owner on Feb 14, 2023. It is now read-only.

robikovacs/rails-fullstack-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rails Fullstack Starter


Documentation

This README describes the purpose of this repository and how to set up a development environment.

Prerequisites

This project requires either Option 1:

or Option 2:

  • Ruby 2.7.2, preferably managed using rbenv
  • PostgreSQL must be installed and accepting connections
  • Redis must be installed and running on localhost with the default port

If you need help setting up a Ruby development environment locally, check out this Rails OS X Setup Guide.

Getting started

Option 1: With Docker

  1. Run docker-compose build
  2. Run docker-compose run rails rake db:setup
  3. Run docker-compose up

Option 2: Local setup

  1. Run the bin/setup script.
  2. Run bin/rake to run all tests and lint checks.
  3. Run yarn start

Access the app at http://localhost:3000/.

Deployment

Ensure the following environment variables are set in the deployment environment:

  • DATABASE_URL
  • RACK_ENV
  • RAILS_ENV
  • REDIS_URL
  • SECRET_KEY_BASE

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published