Skip to content
Rails Template for MarsBased projects
Ruby
Branch: master
Clone or download
Latest commit 006a6b2 Jan 10, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
concerns Feature/refactor organization (#88) Oct 18, 2018
configurators
recipes brakeman added (#110) Jan 10, 2020
.gitignore
CONTRIBUTING.md
LICENSE Initial commit Oct 19, 2016
README.md
configurators.rb
pathfinder.rb feat: Update rails to 6.0.0 (#107) Dec 18, 2019
template.rb
utils.rb

README.md

Pathfinder Waffle

Pathfinder

Rails Template for MarsBased projects.

Usage

The recommended way to use it is referencing the template directly from the Github repository.

rails new new_app -m https://raw.githubusercontent.com/MarsBased/pathfinder-rails/master/template.rb --skip-turbolinks

Note: You need to have installed Yarn before starting a new project since Rails 5.1 uses it as default JavaScript package manager. You can follow this installation instructions.

How does it work

Usually, Rails templates are being built from a single template file. However, if you want to create more complex templates, managing everything this way is painful.

For this reason, we have organized the project in several recipes that can be applied based on the user feedback.

The template.rb file will first clone the whole Pathfinder repository into a temporary local folder and then will execute itself.

Contributing

You just need to clone the repository

git clone git@github.com:MarsBased/pathfinder-rails.git

make the desired changes and test it locally by using:

rails new new_app -m pathfinder_local_repo/template.rb --skip-turbolinks

You can’t perform that action at this time.