Skip to content

Commit

Permalink
add instructions for running with Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
augusto-herrmann committed Aug 4, 2021
1 parent fd277ed commit 33bd99f
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,37 @@ Packages, visit http://specs.frictionlessdata.io/.

The website is a node webapp. To get it running:

1. Install node and npm (>= 0.8)
1. Install node and npm (>= 12). Alternatively, install Docker.

2. Get the code

```
git clone https://github.com/okfn/publicbodies
```

3. Install the dependencies (make sure you are in the publicbodies directory)

```
npm install .
```

If you're using Docker, build the container instead:

```
docker build --rm -t publicbodies .
```

4. Run the webapp:

```
node index.js
```

If you're using Docker, start the container instead:

```
docker run --rm --volume="$PWD:/home/node/portal" -p 3000:3000 -it publicbodies node index.js
```

The list of outstanding issues is at: <https://github.com/okfn/publicbodies/issues>

Expand Down

0 comments on commit 33bd99f

Please sign in to comment.