Portal Spa

www/portalspa has index.html which serves angular assets portal-spa has angular nodejs source code

Install Portal Spa

bench get-app https://github.com/castlecraft/portal_spa

Add the Frappe Gems badge to your README

Maintain Portal Spa? Paste this into your README:

[![Listed on Frappe Gems](https://frappegems.com/api/method/frappe_gems.seo.badge?app=castlecraft%2Fportal_spa)](https://frappegems.com/gems/apps/castlecraft/portal_spa)

About Portal Spa

Portal Spa

Portal Single Page Application

Angular SPA

www/portal_spa has index.html which serves angular assets portal-spa has angular nodejs source code

Test, Format, Lint

npm run test
npm run e2e
npm run lint
npm run format:check

Development

before starting the Angular development, start bench and sites with portal_spa app installed

cd apps/portal_spa/portal-spa
npm i
npm run start
  • http://testportalspa.localhost:8000 should have running frappe/bench site
  • http://testportalspa.localhost:4200 serves angular SPA and proxies to frappe/bench site

Production

# from frappe-bench directory

bench get-app https://github.com/castlecraft/portal_spa

# optional to install erpnext
bench new-site testportalspa.localhost --install-app erpnext

bench --site testportalspa.localhost install-app portal_spa

cd apps/portal_spa
./build-spa.sh

cd ../.. # back to frappe-bench

This will -

  • build angular app
  • copy css to public/css
  • copy js to public/js
  • bench build (for creating symlink to directory)

License

MIT

Related Other apps for Frappe & ERPNext

  • Erpnext — Free and Open Source Enterprise Resource Planning (ERP)
  • Helpdesk — Modern, Streamlined, Free and Open Source Customer Service Software
  • Print Designer — Visual print designer for Frappe / ERPNext
  • Ctr — CTR模型代码和学习笔记总结
  • Whitelabel — Whitelabel ERPNext
  • Fossunited — fossunited.org
  • Helm — Helm Chart Repository for Frappe/ERPNext
  • Frappe Attachments S3 — A frappe app to upload file attachments in doctypes to s3.