Skip to content

ffscalco/rails-fullstack-template

Repository files navigation

Rails fullstack template

This project is a Rails with tailwind css and esbuild to compile js

CI Workflow

Dependencies

To run this project you need to have:

You can use asdf to install ruby, node, and yarn versions. Once you have it installed on your local, you can do the following:

asdf plugin add ruby
asdf plugin add nodejs

asdf install ruby 4.0.1
asdf install nodejs 24.10.0

Your local env will be loaded automatically using the versions in the .tool-versions file

Setup the project

As this is a template, please search for project_name and ProjectName and replace for the name of your project before following the steps below.

  1. Install the dependencies above
  2. $ git clone git@github.com:project_name.git - Clone the project
  3. $ cd project_name - Go into the project folder
  4. $ bin/setup - To install the gems, copy config files, create the database

If everything goes OK, you can now run the project!

Running the project

You can:

  • $ bin/assets To compile only the js and css
  • $ rails server in another terminal to run rails server
  • Open http://localhost:3000

Running tests and checking coverage

  • $ bin/rails test to run unit/integration tests.
  • $ bin/rails test:system to run system (browser) tests.
  • $ bin/rails test:all to run all tests.
  • $ NO_HEADLESS_BROWSER=on bin/rails test:system to run system tests viewing the browser.
  • $ COVERAGE=on bin/rails test:all to generate the coverage report then open the file coverage/index.html on your browser.

Infrastructure

To be defined

Deployments

To be defined

About

Rails fullstack template with tailwind css and esbuild

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors