gudube / Ophelie-Portfolio

MIT License
0 stars 0 forks source link

Ophelie-Portfolio

https://www.OPHELIE.art https://OPHELIE.art http://www.OPHELIE.art http://OPHELIE.art

Deploy

  1. npm run deploy (ng build --prod)
  2. in gh-pages, delete all files except CNAME and delete the assets folder ONLY.
  3. copy folders from dist to portfolio-deploy/Portfolio
  4. copy index.html to 404.html
  5. Commit and push gh-pages

(old way: ng add angular-cli-ghpages)

Routing:

When adding a new route:

  1. add it in app-routing.module.ts
  2. add it in sitemap.xml
  3. add folder in portfolio-deploy/Portfolio
  4. 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