Newsify GUI
Styleguide)
Framework: AngularJS (Development Setup
Make sure you have NodeJS 4.x.x and npm 3.3.4 installed.
Then, check if you have gulp installed. If you do not have it, run the following command:
$ npm install --global gulp
And install all of the dependencies via
$ npm install
In order to start the watch tasks of gulp, just visit the application directory and:
$ gulp
Finally, in order to start the local server, run the following in your terminal:
$ npm start
You should now be able to open your browser and visit http://localhost:3000
to
begin using the application.
Docker
# Build
$ docker build --no-cache --rm --tag=newsify-gui .
# Run
$ docker run --publish 80:80 --rm --name=newsify-gui newsify-gui
Publish
Make sure to build first with gulp build
. Then proceed tagging.
Notes:
- Since this application uses CDN for some of its scripts and stylesheets (particularly AngularJS and Bootstrap), you must run the development environment while connected to the internet.