0.3.6 • Published 5 years ago

ngx-do-wip v0.3.6

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

ngx-do - An ADMIN PANEL for deploying cloud services.

Based on CK-Admin

This project contains the library, proxy and demo, make sure you run npm run build to create library first before you run the demo ng serve. The because the demo project uses REST services, like security and user management, you also requires start the proxy service by using npm run proxy.

Build Library

Run npm run build to build the library, or npm run publish to push the library to npm.

Development Demo

Run ng serve or npm run publish_demo for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Run Proxy

We provide a proxy service base on JSONServer, with implemented security controls. To run the proxy use npm run proxy to publish the proxy to npm use npm run publish_proxy

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build. If you need to changed the base directory used --base-href /myUrl/

To test your the created website you can use python -m SimpleHTTPServer 8000 in the build directory to run the web site.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running a webserver on your build

If you have install phyton on your system you can validate a build by using python -m SimpleHTTPServer 8000

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

Links as Reference