This project was generated with Angular CLI version 1.2.0.
To get you started you can simply clone the Generala2
repository and install the dependencies using git:
git clone https://github.com/HackYourFuture/generala2.git
cd generala2/generala2
npm install
npm run build
cd ..
npm install
npm start
You need git to clone the Generala2
repository. You can get git from here.
You’ll need MongoDB installed to use as our database. You can get mongDB from here
We also use a number of Node.js tools to initialize and test Generala2
. You must have Node.js
and its package manager (npm) installed. You can get them from here.
Clone the Generala2
repository using git:
git clone https://github.com/HackYourFuture/generala2.git
cd Generala2
Install dependencies using git:
npm install
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 [http://localhost:4200/
][local-app-url].
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
Before running the tests make sure you are serving the app via ng serve
.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.