Files
doneit-web/readme.md
T
Peter Maquiran e6b5370dfb Improve readme
2021-08-05 13:47:44 +01:00

60 lines
1005 B
Markdown

# Gabinete Digital
## Requirements
[node >= 14](https://nodejs.org/download/release/v14.15.0/node-v14.15.0-x86.msi)
## Installation
Use the package manager npm to install dependencies.
```bash
npm ci
npm install
npm install -g @ionic/cli
npm install -g lite-server
npm install -g @angular/cli
## Mobile first dependencies
cordova plugin add cordova-plugin-mfp-jsonstore
cordova plugin add cordova-plugin-mfp
```
## Start the development server
```bash
ionic serve
```
## build for production and launch server
```bash
ionic serve build --prod
npm run start
```
## Run test[.](#run-test)
```bash
# incase you don't have .env file
cp ./.env.example ./.env
# incase you don't have a local build yet
ionic serve build --prod
npm run test
```
## Deploy in local network
```bash
ionic build --prod
cp -r ./www ./serve
npm run dev:share
```
## Contributing
For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.