Comments (18)
@ocefpaf I will take a look at that and tweak my Dockerfile, I am probably not following any Docker conventions.. quite new at this haha 😝
from cz-manager.
from cz-manager.
Docker file/image (I don't know what's the difference!)
The Dockerfile
is a simple text with the instructions to create the image. We should avoid creating images "by hand" and prefer the Dockerfile
for reproducibility purposes.
To reiterate what was discussed there, it looks like work on conda packaging ODM2 Admin (previously discussed off and on in issue #11; see also PR #102) will stop
I won't stop completely. But there is no room for improvements right now unless some compromises between a stand-alone app and a re-usable app are discussed. Once PR #102 is merged I still have another one to send towards that goal.
Don probably won't have much time this week to advance this, though.
No problem. @lsetiawan feel free to ping me whenever you are ready.
from cz-manager.
@ocefpaf I started working on this a few weeks ago, and I just pushed the code to my repo, when you have time, please comment if I'm doing this right: https://github.com/lsetiawan/ODM2-Admin/blob/docker_test/docker/Dockerfile
@miguelcleon I am looping you in on this one.
from cz-manager.
I will take a look asap.
PS: did you see https://www.caktusgroup.com/blog/2017/03/14/production-ready-dockerfile-your-python-django-app/ ? (That should help you a little bit.)
from cz-manager.
Thanks to both for the progress on this front. @miguelcleon just asked me about this today, so great timing!
from cz-manager.
@lsetiawan do you have some time tomorrow for a quick call about the Dockerfile
? I am at UTC-3 (https://www.timeanddate.com/worldclock/brazil/florianopolis).
I would like to ask you a few questions to avoid sending you in the wrong direction with my biased use or Docker.
from cz-manager.
@ocefpaf Yea definitely, I am available tomorrow anytime. Just let me know what time is best. Thanks.
from cz-manager.
from cz-manager.
@ocefpaf I am on hangout now. Thanks
from cz-manager.
@miguelcleon I don't remember if I have to have ODM2 tables loaded first in the db or I can just build it from your sample db? Trying to test the Dockerfile, and it's failing on finding samplingfeatures when built from your example db.
Also, now the conda environment is missing pytz
and libgdal
, so I'll be adding those in the requirements.txt
from cz-manager.
@lsetiawan yes, I think that the example db will fail if postgis is not installed or the instance of postgis is not found, I think you might just have to execute this sql statement.
CREATE EXTENSION postgis;
I'm away at a meeting right now so sorry if I'm slow to respond.
from cz-manager.
It specifically fails on sampling features because of the featureGeometry or featureGeometryWKT field, I forget which one.
from cz-manager.
@miguelcleon sounds good. Thanks! I will try that. No worries. It built the db, but with samplingfeatures table missing probably because of the featureGeometry.
from cz-manager.
I think this issue is solved by #120. Closing this issue...
from cz-manager.
Nvm, I can't close the issue @miguelcleon could you please close this unless you think it's not resolve. Thanks.
from cz-manager.
yes, I'll close, maybe I should do another release?
from cz-manager.
I think it seems appropriate with the latest changes with CZIMEA Stuff.
from cz-manager.
Related Issues (20)
- issues using docker container HOT 15
- docker file improvements HOT 4
- Use an ajax select in inline forms to improve user experience
- map enhancements HOT 2
- children of field areas not appearing in map HOT 6
- Connect ODM2 admin in Docker Container to postgres db on host HOT 1
- use UTF-8 character encoding HOT 2
- Error opening form for method HOT 2
- Docker Documentation
- Map loading slowly HOT 2
- Add setting for sampling features to exclude from mapping HOT 7
- Data caching is needed as the dataset gets larger.
- change styling to use Django Jet HOT 3
- add sphinx documentation? HOT 9
- Travis failing due to links HOT 4
- Links from "Graph My Data" Landing Page
- Expand QC tools to include full functionality of ODM2ToolsPython
- Use ODM2REST for mapping interface? HOT 2
- Docker HOT 1
- non-existent package in requirements.txt?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cz-manager.