Ophelie-Portfolio
https://www.OPHELIE.art
https://OPHELIE.art
http://www.OPHELIE.art
http://OPHELIE.art
Deploy
- npm run deploy (ng build --prod)
- in gh-pages, delete all files except CNAME and delete the assets folder ONLY.
- copy folders from dist to portfolio-deploy/Portfolio
- copy index.html to 404.html
- Commit and push gh-pages
(old way: ng add angular-cli-ghpages)
Routing:
When adding a new route:
- add it in app-routing.module.ts
- add it in sitemap.xml
- add folder in portfolio-deploy/Portfolio
- add symlink index.html in the created folder (or see github for format), or just point to the real index.html (../../index.html)
Test on another device
ng serve --host 10.0.0.17 --disableHostCheck