Git Product home page Git Product logo

Comments (4)

frost-nzcr4 avatar frost-nzcr4 commented on August 11, 2024

I've completed the ini config working task and this branch develop...frost-nzcr4:ini-parse may be interesting for you as well. Also at work I need to get dump of config right after all parsing is completed — dump described here frost-nzcr4/djangocms-installer@ini-parse...frost-nzcr4:ini-dump it helps me partially workaround issue #94: when install failed I re-run it with dumped config.

from djangocms-installer.

yakky avatar yakky commented on August 11, 2024

@frost-nzcr4 this is great! I want those, they look awesome and basically ready for merge (probably just adding ini format documentation)

from djangocms-installer.

frost-nzcr4 avatar frost-nzcr4 commented on August 11, 2024

config-file

Sample ini config with all available arguments https://github.com/frost-nzcr4/djangocms-installer/blob/ini-parse/config.ini.sample.
Run:

djangocms_installer --config-file /path/to/config.ini project_name

General config can be cutomised with any available arguments:

djangocms_installer --config-file /path/general-config.ini -p /path/other/proj -s -q project_name

If config.ini not contains no-input = true and -q argument isn't set then one act as a placeholder with default values for wizard.

config-dump

Dumps all arguments to custom config.ini:

djangocms_installer --config-dump /path/config.ini -p . project_name

if installation fails dump can be used to fix some arguments and re-run installer with dumped config:

djangocms_installer --config-dump /path/config.ini --db postgres://wrong-usr:pwd@host/db -p . project_name
# failed
djangocms_installer --config-file /path/config.ini --db postgres://correct-user:pwd@host/db -p . project_name
# succeed

from djangocms-installer.

yakky avatar yakky commented on August 11, 2024

Fixed by #197
A great thanks @frost-nzcr4 for contributing this exciting feature

from djangocms-installer.

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.