An application made to generate projects based on zeropenny-frontend-starter-kit.
You can install globally the tool with npm
or yarn
npm install --global @zeropenny/create-zp-vue-app
# or
yarn global add @zeropenny/create-zp-vue-app
create-zp-vue-app
alternatively you can use npx
to directly the CLI to generate a project without installing
npx @zeropenny/create-zp-vue-app
You will be asked a set of questions, just fill the answers with the provided data and you will have your new project on the go ;)
The template project requires:
-
A gitlab repository (wether in cloud or hosted)
-
2 Heroku apps, one for development and one for production environment.
You will be prompted for a single name because the two app names must respect the following rule:
development heroku app name must be equal to the production app name with a "-dev" suffix.
For example, if your "heroku app" field is
my-awesome-app
, you need one heroku app calledmy-awesome-app-dev
and one calledmy-awesome-app
in your account.Check the
.gitlab-ci.yml
example for reference.