2021-07-10 08:45:51 +01:00
|
|
|
# Gabinete Digital
|
|
|
|
|
|
|
|
|
|
## Requirements
|
|
|
|
|
|
|
|
|
|
[node >= 14](https://nodejs.org/dist/v14.17.3/node-v14.17.3-x64.msi)
|
|
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
|
|
Use the package manager npm to install dependencies.
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
npm ci
|
|
|
|
|
npm install
|
|
|
|
|
npm install -g @ionic/cli
|
|
|
|
|
npm install -g http-server
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Start the development server
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
ionic serve
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## build for production and launch server
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
ionic serve build --prod
|
|
|
|
|
npm run start
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Run test
|
|
|
|
|
|
|
|
|
|
```bash
|
2021-07-10 09:11:03 +01:00
|
|
|
# incase you don't have .env file
|
|
|
|
|
cp ./.env.example ./.env
|
|
|
|
|
|
2021-07-10 08:45:51 +01:00
|
|
|
npm run jest
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## 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.
|