Skip to content

Commit

Permalink
Update README.md, fix index title and AppService wrong dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jantolg committed Mar 23, 2017
1 parent 85930e8 commit c613049
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 25 deletions.
27 changes: 8 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,17 @@
# IUCNMedStoryMaps

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.0.0-rc.4.
## Project installation

## Development server

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.

## Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive/pipe/service/class/module`.
Run 'npm install' into project folder

## Build

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.

## Running unit tests
## Development server

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
Run `npm run lite` for a dev server. Navigate to `http://localhost:3000/`. The app will automatically reload if you change any of the source files.

## Running end-to-end tests
## Typescript compiler

Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
Before running the tests make sure you are serving the app via `ng serve`.
Run `npm run tsc:w` for a run typescript watcher

## Further help
## Short-hand

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
Run `npm start` for a run typescript watcher and run dev server
6 changes: 3 additions & 3 deletions src/app/NgModule.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {enableProdMode, NgModule} from '@angular/core';
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
import {RouterModule, Routes, Router, ActivatedRoute} from '@angular/router';
import {RouterModule, Routes} from '@angular/router';
import {BrowserModule} from '@angular/platform-browser';
import {HttpModule, JsonpModule, Http} from "@angular/http";
import {HttpModule, JsonpModule} from "@angular/http";

import {StoryService} from '../services/StoryService';

Expand All @@ -28,7 +28,7 @@ const appRoutes: Routes = [
},
{
path: '**',
redirectTo: ['/not-found']
redirectTo: '/not-found'
}
];

Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<base href="/">
<title>ArtEmpire Backend</title>
<title>IUCN MED Story Map</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="node_modules/core-js/client/shim.min.js"></script>
Expand Down
3 changes: 1 addition & 2 deletions src/shared/menu/Menu.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import {Component} from "@angular/core";
import {AppService} from "../../services/AppService";

@Component({
selector: 'menu',
templateUrl: '/template/views/components/menu.html'
})
export class MenuComponent {
constructor(private _app: AppService) {
constructor() {

}
}

0 comments on commit c613049

Please sign in to comment.