Skip to content
This repository has been archived by the owner on Apr 4, 2021. It is now read-only.

ptuomola/rails-example-project

 
 

Repository files navigation

Simple clicker app

Installation

Make sure you have a JavaScript runtime such as node installed.

If you do not have ruby installed

Install ruby version 2.6.0 with rbenv.

Install bundler with gem install bundler

If you already have ruby and bundler installed

run bundle install to install all dependencies specified in the Gemfile

For development version

Run migrations with rails db:migrate

Run rails s to start the project in development mode

For production version

Run migrations with rails db:migrate RAILS_ENV=production

Precompile your assets with rake assets:precompile

Run rails s -e production to start the project in production mode

(To get error output use RAILS_LOG_TO_STDOUT=true rails s -e production)

The application by default runs in port 3000

About

Rails example project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 75.8%
  • HTML 16.2%
  • CSS 4.7%
  • JavaScript 2.8%
  • CoffeeScript 0.5%