GithubHelp home page GithubHelp logo

Docker file/image about cz-manager HOT 18 CLOSED

odm2 avatar odm2 commented on August 25, 2024
Docker file/image

from cz-manager.

Comments (18)

lsetiawan avatar lsetiawan commented on August 25, 2024 1

@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.

ocefpaf avatar ocefpaf commented on August 25, 2024 1

from cz-manager.

ocefpaf avatar ocefpaf commented on August 25, 2024

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.

lsetiawan avatar lsetiawan commented on August 25, 2024

@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.

ocefpaf avatar ocefpaf commented on August 25, 2024

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.

emiliom avatar emiliom commented on August 25, 2024

Thanks to both for the progress on this front. @miguelcleon just asked me about this today, so great timing!

from cz-manager.

ocefpaf avatar ocefpaf commented on August 25, 2024

@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.

lsetiawan avatar lsetiawan commented on August 25, 2024

@ocefpaf Yea definitely, I am available tomorrow anytime. Just let me know what time is best. Thanks.

from cz-manager.

ocefpaf avatar ocefpaf commented on August 25, 2024

from cz-manager.

lsetiawan avatar lsetiawan commented on August 25, 2024

@ocefpaf I am on hangout now. Thanks

from cz-manager.

lsetiawan avatar lsetiawan commented on August 25, 2024

@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.

miguelcleon avatar miguelcleon commented on August 25, 2024

@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.

miguelcleon avatar miguelcleon commented on August 25, 2024

It specifically fails on sampling features because of the featureGeometry or featureGeometryWKT field, I forget which one.

from cz-manager.

lsetiawan avatar lsetiawan commented on August 25, 2024

@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.

lsetiawan avatar lsetiawan commented on August 25, 2024

I think this issue is solved by #120. Closing this issue...

from cz-manager.

lsetiawan avatar lsetiawan commented on August 25, 2024

Nvm, I can't close the issue @miguelcleon could you please close this unless you think it's not resolve. Thanks.

from cz-manager.

miguelcleon avatar miguelcleon commented on August 25, 2024

yes, I'll close, maybe I should do another release?

from cz-manager.

lsetiawan avatar lsetiawan commented on August 25, 2024

I think it seems appropriate with the latest changes with CZIMEA Stuff.

from cz-manager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.