This app uses Internet Computer's motoko language along side Angular
-
Install DFX. Please keep in mind the dfx cli currently only runs on Linux and Apple based PCs.
-
Install npm packages from the project root:
npm install
npm run ng-start
-
Once the job fully starts, your application will be available at
http://localhost:4200
. -
If you make any changes while in development mode, the project will recompile on both the Angular and IC / Motoko side.
npm run build-dfx-www
npm run [script name]
Name | Description |
---|---|
ng-start | Start the Angular and the IC server locally with live reloading |
ng-serve | Serve and watch both Angular and the IC server for changes |
ng-start-dfx | Stop IC server when needed and re-start the IC server |
build-dfx-www | Build and Serve the Angular application on the local IC server |
print-dfx-www | Print the url to the local IC server Angular application |