dev-portfolio-cli-command is a comfortable environment for generate web portfolio.
To create a project, run:
$ npx create-dev-portfolio [YOUR APP NAME]
If you don't type [YOUR APP NAME], 'dev-portfolio' is default.
Running npx create-dev-portfolio
will result in the following five processes.
- Check if folder exist named same as [YOUR APP NAME]. ( in the case folder named same as [YOUR APP NAME] exist , it'll be causes error )
- Check if five necessary dependencies exist below. ( if you don't have more than one dependency, we warn you )
- docker
- docker-compose
- node
- npm
- bash
- Cloning create-dev-portfolio.
- Installing dependencies for
create-dev-portfolio
. - Removing useless files like
.git
.
After above five processes, run:
$ cd [YOUR APP NAME]
$ npm run start:all