-
Notifications
You must be signed in to change notification settings - Fork 4
C. Instances management (console mode)
Laurent GAY edited this page Aug 11, 2015
·
2 revisions
In order to create a new instance, you need to use lucterios_admin.py.
This tool should be in your path after having the core and first dependencies installed.
lucterios_admin.py add -n myInstance -i /path/to/my/new/instance
this will create an instance named "myInstance" on directory "/path/to/my/new/instance" using "standard" application configuration base and sqlite as datastore.
Usage:
lucterios_admin.py <check|installed|listing|refresh_all|update>
lucterios_admin.py <add|archive|clear|delete|modif|read|refresh|restore> [option]
Options:
--version: show program's version number and exit
-h, --help: show this help message and exit
-n NAME, --name=NAME: Instance name
-p APPLI, --appli=APPLI: Instance application
-d DATABASE, --database=DATABASE: Database configuration 'sqlite', 'MySQL:...' or 'PostGreSQL:...'
-m MODULE, --module=MODULE: Modules to add (comma separator)
-e EXTRA, --extra=EXTRA: extra parameters (<name>=value,...)
-f FILENAME, --file=FILENAME: file name for restor or archive
-i INSTANCE_PATH, --instance_path=INSTANCE_PATH:
Directory of instance storage
export extra_url="http://pypi.lucterios.org/simple"
lucterios_admin.py update