Skip to content
Rails example project
Ruby HTML CSS JavaScript CoffeeScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
log
public
storage
test
tmp
vendor
.gitignore
.ruby-version
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru
package.json

README.md

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

You can’t perform that action at this time.