This is an Angular web application to browse my recipe collection.
https://richardeigenmann.github.io/RezeptsammlungNg/index.html
Run ng serve -o
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Prepare for deployment:
npm run updateBuildTimeStamp
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.
ng build --configuration production --base-href "https://richardeigenmann.github.io/RezeptsammlungNg/"
ngh
ng build --configuration netlify --base-href "https://master--rezeptsammlung.netlify.app/"
https://richardeigenmann.github.io/RezeptsammlungNg
For Cloud Foundry:
ng build --prod
cf push
# after first one:
cf restage Rezeptsammlung
https://rezeptsammlung.cfapps.io
See https://github.com/angular-schule/angular-cli-ghpages
Run ng test
to execute the unit tests.
Run ng e2e
to execute the end-to-end tests via Protractor.
Before running the tests make sure you are serving the app via ng serve
.
su -
npm install -g @angular/cli
npm install -g angular-cli-ghpages
ng update
npm upgrade
npm update
Sometimes there can be the error Watchpack Error (watcher): Error: EMFILE: too many open files
Give it more nodes in the kernel:
cat /proc/sys/fs/inotify/max_user_instances
sudo sysctl fs.inotify.max_user_instances=256