/AngularJSBootcampProject

Project developed during a AngularJS bootcamp that I attended to.

Primary LanguageJavaScriptMIT LicenseMIT

Pocket Trailer — Projecto final da formação de AngularJS feita na Citeforma

Este projecto foi desenvolvido durante as aulas da formação de AngularJS, realizada na Citeforma. Utilizou-se Angular na sua versão 1.

A base do projecto acenta na base definida no projecto angular-seed disponivel no GitHub.

Getting Started

To get you started you can simply clone the AngularJS repository and install the dependencies:

Prerequisites

You need git to clone the AngularJS repository. You must have Node.js and its package manager (npm) installed.

Clone AngularJS

Clone the AngularJS repository to the desired destination folder, using git:

git clone https://PedroEFLourenco@bitbucket.org/PedroEFLourenco/angularjs.git

If you just want to start a new project without the AngularJS commit history then you can do:

git clone --depth=1 https://PedroEFLourenco@bitbucket.org/PedroEFLourenco/angularjs.git <your-project-name>

The depth=1 tells git to only pull down one commit worth of historical data.

Install Dependencies

We have two kinds of dependencies in this project: tools and Angular framework code. The tools help us manage and test the application.

We have preconfigured npm to automatically run bower so we can simply do, from the "app" folder:

npm install

Behind the scenes this will also call bower install. After that, you should find out that you have two new folders in your project.

  • node_modules - contains the npm packages for the tools we need
  • app/bower_components - contains the Angular framework files

Note that the bower_components folder would normally be installed in the root folder but angular-seed changes this location through the .bowerrc file. Putting it in the app folder makes it easier to serve the files by a web server.

Run the Application

We have preconfigured the project with a simple development web server. The simplest way to start this server is:

npm start

Now browse to the app at localhost:8000/index.html.

Contact

For more information on AngularJS please check out angularjs.org.