Comments (4)
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.
@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.
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.
Fixed by #197
A great thanks @frost-nzcr4 for contributing this exciting feature
from djangocms-installer.
Related Issues (20)
- Move to github actions
- Update tooling / packaging
- Use black
- Remove support for Python 2 / Django 1.11 HOT 1
- djangocms 'staticfiles' is not a registered tag library. Must be one of: HOT 4
- pip installing from extra-index-url HOT 2
- installation... HOT 2
- Dependabot couldn't authenticate with https://pypi.python.org/simple/
- Add django CMS 3.8
- Update pre-commit versions
- Use django-app-enabler as patching engine
- Install additional applications during project creation
- djangocms -p mysite mysite
- Specify package version requirement using == instead of >= HOT 1
- Not working in PythonAnywhere or Heroku servers (bad project.db path) HOT 1
- djangocms-installer does not install django and djangocms-admin-style HOT 3
- django-cms 3.9.0 is out! HOT 7
- Docs: Required libraries seem to be outdated
- After djangocms-installer is installed it cannot be run because of missing pytz
- optional argument --bootstrap with value no install djangocms-bootstrap4 HOT 3
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 djangocms-installer.