Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 920 Bytes

README.md

File metadata and controls

30 lines (23 loc) · 920 Bytes

Moduloproject

Moduloproject is an open-source project.

There are two components:

  • a shell script
    • It spawn a Docker container running the last ruby image.
    • In this container, the last version of Rails is installed.
    • A new Rails project is generated running with a PostgreSQL database and using the Rails template.
  • a Rails template
    • It adds and configures the gem Modulorails.
    • It setup the git repository.

Installation and update

cd /usr/local/bin
sudo curl -o moduloproject https://raw.githubusercontent.com/moduloTech/moduloproject/master/moduloproject
sudo chmod +x moduloproject

Usage

mkdir superproject
cd superproject
moduloproject # Or `moduloproject -m importmap -i mri -v latest`; Use `moduloproject -h` to see all options
docker compose up -d --build