This project is a Rails with tailwind css and esbuild to compile js
To run this project you need to have:
- asdf
- Ruby 4.0.1
- Node 24.10.0
- Yarn 4.10.3
- PostgreSQL
- Redis
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.0Your local env will be loaded automatically using the versions in the .tool-versions file
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.
- Install the dependencies above
$ git clone git@github.com:project_name.git- Clone the project$ cd project_name- Go into the project folder$ bin/setup- To install the gems, copy config files, create the database
If everything goes OK, you can now run the project!
You can:
$ bin/assetsTo compile only the js and css$ rails serverin another terminal to run rails server- Open http://localhost:3000
$ bin/rails testto run unit/integration tests.$ bin/rails test:systemto run system (browser) tests.$ bin/rails test:allto run all tests.$ NO_HEADLESS_BROWSER=on bin/rails test:systemto run system tests viewing the browser.$ COVERAGE=on bin/rails test:allto generate the coverage report then open the filecoverage/index.htmlon your browser.
To be defined
To be defined