forked from electricitymaps/electricitymaps-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moving CO2 model to shared space, preparing for electricitymaps#305
- Loading branch information
Showing
8 changed files
with
39 additions
and
25 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.git | ||
*.tar.gz | ||
*.json | ||
*secrets* | ||
*.env | ||
|
||
datascience | ||
|
||
web/node_modules | ||
web/build | ||
web/public/dist | ||
web/world_*.json |
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
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
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,13 +1,13 @@ | ||
FROM python:2.7 | ||
WORKDIR /home/ | ||
RUN apt-get update | ||
# Install python | ||
# Install pygrib dependencies manually | ||
RUN apt-get install -y libgrib-api-dev libsnappy-dev && \ | ||
pip install numpy==1.10.1 pyproj==1.9.4 | ||
WORKDIR /home/feeder | ||
# Only add requirements to enable cached builds when it is unchanged | ||
ADD requirements.txt /home/requirements.txt | ||
ADD feeder/requirements.txt /home/feeder/requirements.txt | ||
RUN pip install -r requirements.txt | ||
# Add the rest | ||
ADD . /home/ | ||
ADD feeder /home/feeder | ||
ADD shared /home/shared | ||
CMD python -u feeder.py |
File renamed without changes.
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
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