This is the starter repo for the News Summary project in Further JavaScript week 8. See the Makers course repo for the full project description.
$ git clone https://github.com/makersacademy/news-summary.git
Check it's installed by typing
$ java -version
You should see a version number.
$ cd path/to/news-summariser/
$ npm install
$ npm run install-bower-dependencies
$ npm run install-selenium-dependencies
In a terminal, run your app.
$ cd path/to/news-summariser/
$ npm run start-app
In a second terminal (with your app still running from the previous step), run Selenium.
$ cd path/to/news-summariser/
$ npm run start-selenium
In a third terminal (with your app and Selenium still running from the previous steps), run your feature tests.
$ cd path/to/news-summariser/
$ npm run test-features
$ cd path/to/news-summariser/
$ npm run test-units
$ cd path/to/news-summariser/
$ npm run start-app
If you see "Error: listen EADDRINUSE 0.0.0.0:8080" when you run npm run start-app
, you may have the app already running in a separate tab.
Go to http://localhost:8080 in your web browser. You should see "Hello, world".