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

Latest commit

 

History

History
33 lines (17 loc) · 845 Bytes

README.md

File metadata and controls

33 lines (17 loc) · 845 Bytes

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