- nodejs
npm install
- create a feature branch with your changes
- create a pull request to be merged into main
- the cli will convert all markdown files to html files and generate the website
- if you add a blog post (dynamic content), we need to tell angular the route by adding the new page to
prerender-routes.txt. Usegenerate_reprender_routes.ps1. This should be automated in the future.
- if you add a blog post (dynamic content), we need to tell angular the route by adding the new page to
- after the pull request is merged, the website will be deployed automatically
This project was generated with Angular CLI version 7.1.2 and was updated meanwhile to angular 19.0.5.
- Run
ng build --configuration production --aot(builds browser and server)
-
Run
ng run get-the-solution-app:build:productionto build the project. The build artifacts will be stored in thedist/directory. -
Switch to
cd dist\get-the-solution-app\browser\ -
Use
http-serverto serve the files. Install it withnpm install -g http-server
Using pandoc in Linux:
cd src/assets/database; for i in .md; do pandoc "$i" -o "${i%.}".html; done
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.
Run ng test to execute the unit tests via Karma.
Run ng e2e to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help or go check out the Angular CLI README.