Skip to content

A simple sinatra template for Ruby Beginners course, session 3

Notifications You must be signed in to change notification settings

CodeFirstGirls/ruby-sinatra-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readme

This is a basic sinatra template, which you can use as a base for your projects.

Fork this app onto your github account using the 'fork' button in the top right, from there clone it onto your machine either with the command line or github desktop.

Running the app

From the root off the app type ruby app.rb

Routing

Routes should be added to the app.rb file

Views

Add any views you wish to the 'veiws' directory, make sure these are '.erb' files, and not '.html'

Styles, JS and images

These should all be added to the 'public' directory, make sure you link them approriately to the templates in the view directory!

About

A simple sinatra template for Ruby Beginners course, session 3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published