This project was generated with Angular CLI version 6.0.8.
ng serve for a dev server. Navigate to
http://localhost:4200/. The app will automatically reload if you change any of the source files.
ng generate component component-name to generate a new component. You can also use
ng generate directive|pipe|service|class|guard|interface|enum|module.
ng build to build the project. The build artifacts will be stored in the
dist/ directory. Use the
--prod flag for a production build.
Running unit tests
ng test to execute the unit tests via Karma.
Running end-to-end tests
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.
angular-cli-ghpages, follow the README for instructions.
There is no automated build or deployment setup.
Edit: Due to a wrong link being sent around, we need to account for people trying to access the app via the
/services routes directly.
I hacked around that with static html files that just redirect to
/ where the app should load.
While this works, it makes the deploy process a bit more of a hassle. The template file is in
src/services.html, I copied it over manually to
dist/creepy-agb/services/index.html. That should cover all the cases.
So the steps would be:
$ ng build --prod --base-href "https://datenschule.github.io/creepy-agb/"
copy over all static html
This creates an
gh-pages. Pull from that branch. Move the contents to root with
$ mv creepy-agb/* .and commit and push.
The data used in the project was manually collected as part of Data Expedition