mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
9513542c566a27b02f935535bc25f64030c04b96
…
…
Gabinete Digital
Requirements
Installation
Use the package manager npm to install dependencies.
npm ci
npm install
npm install -g @ionic/cli
npm install -g lite-server
npm install -g @angular/cli
npm install -g cordova
npm install -g cordova-res
## Mobile first dependencies
cordova plugin add cordova-plugin-mfp-jsonstore
cordova plugin add cordova-plugin-mfp
ionic cordova plugin add cordova-plugin-network-information
## memory leak
set NODE_OPTIONS=--max_old_space_size=10096
BUG
Fix cordova-plugin-camera crash
## uninstall
npx cordova plugin remove cordova-plugin-camera
## install
npx cordova plugin add https://github.com/PieterVanPoyer/cordova-plugin-camera/#bugfix/issue-665-save-instance-restore-bug
Start the development server
ionic serve
build for production and launch server
ionic serve build --prod
npm run start
Run test.
# 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
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.
Description
Languages
JavaScript
91%
HTML
3.8%
TypeScript
3.4%
SCSS
0.8%
Java
0.8%
Other
0.2%