Rokfor Website Boilerplate running on Angular using
- Gulp Toolchain
- Sass
- Templates
Initially based on angularjs-gulp-browserify-boilerplate.
- Clone this repository
$ git clone https://github.com/Rokfor/rokfor-angular-starter.git
- Run
npm install
from the root directory - Run
npm run dev
orgulp dev
Referring to the readme of angularjs-gulp-browserify-boilerplate:
Your browser will automatically be opened and directed to the browser-sync proxy address. To prepare assets for production, run the
npm run build
script (Note: the production task does not fire up the express > server, and won't provide you with browser-sync's live reloading. Simply usenpm run dev
during development. More > information below)
Like the PHP Boilerplate, this example accesses the rokfor demo server. There's only a limited read-only access open to the public. Ping me @uphofer if you need a real account or deploy your own server.
In order to change your api credentials, open constants.js
in the app
folder:
const AppSettings = {
domain: window.location.hostname,
appTitle: 'Demo',
apiEndpoint: 'https://your.server.goes.here/api',
apiKey: 'YOUR_READ_ONLY_KEY'
};
The angular demo supports only read only access...