Skip to content

Commit 6b525b6

Browse files
committed
Declutter.
Former-commit-id: 2eb78c2 [formerly 4795dc6] Former-commit-id: 25982a2
1 parent 418791b commit 6b525b6

File tree

9 files changed

+5
-22
lines changed

9 files changed

+5
-22
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ RUN pip --no-cache-dir install --no-compile bottle
2323

2424
ENV LC_ALL=C.UTF-8
2525
WORKDIR /app
26-
COPY demo .
26+
COPY web/app.py web/index.html /app/
2727
CMD ["python", "app.py"]
2828
EXPOSE 3000
2929

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,16 @@ Moreover, if you install the package, you will get an script called `osmtogtfs`
5151
the _outdir_ with the given name, otherwise feed will be stored as plain text in multiple files.
5252

5353
### Web Demo
54-
There is a small web app inside `demo` folder. It accepts a URL to a osmium supported file. It will then convert it
54+
There is a small web app inside `web` folder. It accepts a URL to a osmium supported file. It will then convert it
5555
to a zipped GTFS feed. You will need `pipenv` command to install and run it:
5656

57-
$ cd demo
58-
$ pip install pipenv
57+
$ cd web
5958
$ pipenv install
6059
$ python3 app.py
6160

62-
Browse to [http://localhost:3000](http://localhost:3000) afterwards to use it.
61+
Browse to [http://localhost:3000](http://localhost:3000) afterwards.
6362

64-
This demo is also running at [http://o2g.hiposfer.com](http://o2g.hiposfer.com). It is possible to directly download a zipped GTFS feed for a given OSM URL too:
63+
This web app is also running at [http://o2g.hiposfer.com](http://o2g.hiposfer.com). It is possible to directly download a zipped GTFS feed for a given OSM URL too:
6564

6665
http 'http://o2g.hiposfer.com/o2g?url=http://download.geofabrik.de/europe/liechtenstein-latest.osm.bz2' > gtfs.zip
6766

app.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

demo/Procfile

Lines changed: 0 additions & 1 deletion
This file was deleted.

demo/install

Lines changed: 0 additions & 3 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)