Giter Club home page Giter Club logo

Comments (4)

Skorynskaya avatar Skorynskaya commented on July 23, 2024

dockers:

  1. PostgreSQL (with auth, volume db, config?)
  2. Python (with volume projects, cmd *.py, link PostgreSQL)

from adfs_managers.

Imperat avatar Imperat commented on July 23, 2024

It would be awesome!
For integration with postgresql we need to create some user in postresql db and simply change DATABASES config in untitled1/settings.py file according to this article: https://djangogirls.gitbooks.io/django-girls-tutorial-extensions/optional_postgresql_installation/
Additional configs are not important now :)

from adfs_managers.

Skorynskaya avatar Skorynskaya commented on July 23, 2024

My experiment (part 1 - postresql):

  1. path to the database: /home/adfs/postgresql/db/
  2. port 5432
  3. user/password/db = test
    Try with connect to it :)
    I checked through the second temporary docker. Can also.
    For example:
    cd /home/adfs/postgresql
    docker run -it --rm --link postgres:postgres postgres psql -h postgres -U test

password for user: test
psql (9.6.3)
Type "help" for help.

test=#
.....
\q

P.S.:

  1. checked docker status "sudo docker ps -a"
  2. if docker`s status is "exited", then execute command "sudo docker start postgres"

from adfs_managers.

Imperat avatar Imperat commented on July 23, 2024

Hi, Olga!
Its brilliant! I just add some requirement to application and change configs to postgresql and after run:
python manage.py migrate and all migrations was applied successfully! My changes there are in commit:
6575087

Can you, please, commit you docker-compose file to this branch? In future I think we can add docker manifest for application also.

Thank you for you change! :)

from adfs_managers.

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.