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

readme #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
16 changes: 5 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,18 @@ Requirements

Installation
-----------
1. Extract
2. edit the postgis_express.js (connString variable to point to your postgress database)
2. At OS shell prompt cd into the extracted folder
3. Run (only need to do this once)
1. Clone the repository `git clone https://github.com/robe2/node_postgis_express`
2. Edit the file `settings.js` (`connString` variable should point to your postgres database)
3. In your shell run (only need to do this once)
```
npm install express
npm install pg.js
```

4. Still in OS shell type: which should launch the web server
4. Then type: `node postgis_express.js` which should launch the web server
node postgis_express.js

5. In a web browser go to:
http://localhost:3030

6. Run the ```
SELECT 1``
example which should out 1
5. In a web browser go to: `http://localhost:3030`

<img src="http://www.postgis.us/images/node_postgis_express.png" /> <br />

Expand Down