Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add local-web-server to help with markup via the browser #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.DS_Store
node_modules/*
32 changes: 31 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,34 @@

A sample application built with Ionic and AngularJS

More information here: http://coenraets.org
More information here: http://coenraets.org

## To run a browser locally for development ##

Included is a package.json, only needed if you wish
to debug part of your app via a browser
(ie: using Dev Tools).

However, if you only wish to use an emulator or mobile
device for development, the package.json file can
be ignored.

To install local-web-server
```
npm install
```
To run local-web-server
```
npm start
```
Then point your browser to
```
http://localhost:8000
```

You do not need to restart the server for most changes,
just refresh the page.

More information on how to use local-web-server is
included it the project's README:
https://github.com/75lb/local-web-server
11 changes: 11 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "directory-angular-ionic",
"version": "1.0.0",
"scripts": {
"start": "ws"
},
"repository": "https://github.com/ccoenraets/directory-angular-ionic.git",
"dependencies": {
"local-web-server": "~0.5.12"
}
}