cli/README.md

74 lines
1.4 KiB
Markdown

# @d3v4pp/cli : devapp
[![GitHub license](https://img.shields.io/badge/licence-d3v4pp-red.svg)](https://cvs.d3v4pp.fr/D3V4PP/cli.git)
[![npm version](https://img.shields.io/npm/v/@d3v4pp/cli?style=flat)](https://www.npmjs.com/package/@d3v4pp/cli)
is a command line cli that will run build and init SweetApps
with `devapp` command line you can create, build, start(dev mode) or test your app
### Basic usage:
To install the command line cli run :
~~~
npm install -g @d3v4pp/cli
~~~
Start your application from default template
~~~
devapp init Myapp
cd Myapp
devapp start
~~~
Build your app
~~~
devapp build
~~~
## start params
You can change the port and public path you want, by calling `devapp start -p 9090 -public "/v1"
|param| description |
|:-----:|:-----:|
|-p, --port | the port you want to start on |
|-public, --public| the port you want to start on |
## build params
You can change the public path you want, by calling `devapp build --public "/v1"
|param| description |
|:-----:|:-----:|
|-public, --public| the port you want to start on |
## Commun problems
### WINDOWS
The execution strategie dosent allow remoteSigned execution need to allow it
```
set ExecutionStrqtegie ....
```
### MACOSX:
if your using a mac make sure xcode is installed run
~~~sh
$ gcc -v
#if it propose to you to install xcode do it
~~~
### linux
```
No problem at all
```
# release notes
## version 0.0.2:
* corrige le bug dans la commande `devapp build`