Appendix D. Running the app

 

Running the app is a super-simple process. To start off, you’ll need Git (http://git-scm.com/) and, if you don’t have a local web server, you’ll need Node.js and npm (https://nodejs.org/download/).

Get the code

Once you have Git installed, go to your terminal and run the following:

cd <your-projects-folder>
git clone https://github.com/angularjs-in-action/angello
cd angello

These commands will download all of the code for the front-end app into your projects folder.

Start the server

If you have a local web server that you use, simply serve the client directory of the project. If you don’t, run the following commands in your terminal. Make sure you have installed Node.js and npm and that you are in the angello directory you just cloned.

npm install -g serve
serve client/

These commands install the serve package on your system globally and then serve the client directory of the Angello application for your viewing pleasure.

View the app

You now have a local copy of Angello running on http://localhost:3000. Simply navigate to that URL in your favorite browser and you will be greeted with an authentication page where you can create an account and use the app!

sitemap