npm install
Make sure the git submodule is checked out and the theme is compiled
cd 360-ds
npm install
npm run compile-sass -- --path ../registry-vue/src/assets/styles/
npm run serve
npm run build
npm run lint
For testing purposes you may want to use the live api. A possible approach for this is to use a reverse proxy.
Apache2 Example:
<VirtualHost *:443>
...
SSLProxyEngine on
ProxyPass "/datastore" "https://store.data.threesixtygiving.org"
ProxyPassReverse "/datastore" "https://store.data.threesixtygiving.org"
Header set Access-Control-Allow-Origin "*"
...
</VirtualHost>
(requires mod_ssl, mod_proxy, mod_headers)
Then:
$ export VUE_APP_DATASTORE_API=https://localhost/datastore/api/dashboard/
$ npm run serve