Skip to content

Sanchezdav/herewego

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Herewego Rails Template

Rails 6 starter pack with Tailwindcss

Thanks to Chris Oliver and Jumpstart for inpiring me to create this, credits to him.

Note: Requires Rails 6 or higher

Included gems

Getting Started

Herewego is a Rails template to start an application quickly with an extra punch.

Requirements

You'll need the following installed to run the template successfully:

  • Ruby 2.5 or higher
  • Bundler - gem install bundler
  • Rails - gem install rails
  • Yarn - brew install yarn or Install Yarn
  • Foreman (optional) - gem install foreman - helps run all your processes in development

Creating a new app

rails new myapp -d postgresql -m https://raw.githubusercontent.com/Sanchezdav/herewego/master/template.rb

Or if you have downloaded this repo, you can reference template.rb locally:

rails new myapp -d postgresql -m template.rb

To run your app, use foreman start -p 3000.

This will run Procfile.dev via foreman start -f Procfile.dev as configured by the .foreman file and will launch the development processes rails server and webpack-dev-server processes. You can also run them in separate terminals manually if you prefer.