- 1. Introduction
- 2. Pre-requirement
- 3. Installation
- 4. Create the project/boilerplate codes.
- 5. Development
A generator to generate mvp-rockets projects/boilerplate codes.
- Ubuntu 20.04 or above
- docker(19.xx or above)
- docker-compose(1.28.xx or above)
npm i -g @mvp-rockets/namma-generator
mkdir project-name && cd project-name
namma_generate
Questions asked during the generation process: Project Name: (defaults to the current directory name)
Services to setup:
- Namma API Service: Installs mvp-rockets api boilerplate code.
- Next.js Web Site: Installs mvp-rockets web boilerplate code.
- Nuxt.js API Service: Work in progress. Not available yet
- Deployment Scripts: Bash based deployment scripts.
Service Name:
- Will create a sub-directory of that name and copy the service code.
- Will define the service name within package.json as
project-name-service-name
(e.g. project-api) - Set the service version as 1.0.0
In case of API, additional prompt "Cloud Provider" is asked for.
- Currently we have only published the AWS version.
This project uses git submodule.
First time cloning:
git clone --recurse-submodules -j4
Else, after cloning, you will need to run the following for the first time.
git submodule update --init --recursive
Whenever you want to update the submodules, run
git submodule update --recursive