-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c082f2b
commit 4315334
Showing
14 changed files
with
68 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ logs | |
graphs | ||
elevation_cache | ||
data | ||
|
||
ors/openrouteservice |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
# docker-ors-vroom | ||
|
||
* test.json example of vroom problem | ||
* test.sh send test.json to vroom | ||
|
||
## Setup | ||
|
||
```bash | ||
git clone https://github.com/GIScience/openrouteservice.git ./ors/openrouteservice | ||
``` | ||
|
||
* vroom/test.json example of vroom problem | ||
* vroom/test.sh send test.json to vroom | ||
|
||
* example.ipynb python notebook to test Optimization Routing by ors python binding |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
FROM ubuntu:18.04 | ||
|
||
RUN apt-get update | ||
RUN mkdir -p /src | ||
RUN cd /src | ||
|
||
ENV VROOM_BRANCH master | ||
RUN apt-get install -qq \ | ||
build-essential \ | ||
g++ \ | ||
git-core \ | ||
libboost-all-dev \ | ||
make \ | ||
pkg-config && \ | ||
git clone https://github.com/GIScience/vroom.git /src/vroom && \ | ||
mkdir -p /src/vroom/bin && \ | ||
cd /src/vroom/src && \ | ||
make && \ | ||
cp /src/vroom/bin/vroom /usr/local/bin/ | ||
|
||
RUN cd / | ||
|
||
ENV VROOM_EXPRESS_BRANCH master | ||
#RUN apt-get update && \ | ||
RUN apt-get install -qq \ | ||
npm \ | ||
nodejs && \ | ||
git clone https://github.com/VROOM-Project/vroom-express.git /vroom-express && \ | ||
cd /vroom-express && \ | ||
npm install | ||
|
||
#COPY config.js /vroom-express/src/config.js | ||
|
||
RUN apt-get clean && cd / | ||
|
||
EXPOSE 3000 | ||
CMD ["npm", "start", "--prefix", "/vroom-express"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
# | ||
|
||
curl -d @test.json -X POST -H "Content-Type: application/json" http://localhost:3000 |