git, a web browser, and a local web server.
Run the following command to check out a local copy of the code.
git clone email@example.com:angularjs-in-action/angello.git
Set up the backend
There are two options for the backend of the app: NodeJS and Firebase.
- If you do not have one already, set up an account with firebase.com
- Create an app (name it whatever you want)
- Click on your new app's URL
- Click on the
Login & Authsection of the resulting page on the left hand side, and check the checkbox that says
Enable Email & Password Authentication
- Copy the URL from the address bar of the page you are on
- Open the file
/client/src/angello/app/services/EndpointConfigService.jsand update the
URIproperty of the
firebaseobject to your copied URL.
You're done! Skip to the Start it section
- Go to the Angello Express API and follow the directions to get the API running.
- Once the API is running, open
/client/src/angello/app/services/EndpointConfigService.jsin a text editor, uncomment
// .constant('CURRENT_BACKEND', 'node')and comment out
You're done! Go ahead and move on to the Start it section.
If you have a local web server that you use, simply serve the client directory of the project. If you do not, you will need to install Node.js and NPM.
Once you have installed Node.js and NPM, run the following commands in your terminal. Make sure you are in the
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.