Skip to content

Ashdown/sinatra-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sinatra React Test App

Simple Ruby application with the following features

* Sinatra
* Hosted on heroku
* Slim templates
* Sprockets and asset pipeline
* SCSS
* Jasmine testing
* rspec testing
* Feature testing
* React
* Implementation of Flux

Sinatra Test App on Heroku

Helpful Commands

Install dependencies

bundle install

Create a new Heroku app

heroku create

Deploy App

git push heroku master

Open App

heroku open

Set environment variable

heroku config:set FOO=BAR

Run locally

foreman start web

View locally

local site

For more see

Getting started with Ruby on Heroku React TutorialRe

Compiling React Files for production

Install jsx compiler

npm install -g jsx

Run the rake command

rake compilejsx

Database Integration

For more see

Making a simple database driven website with sinatra and heroku

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages