getlino startsite command¶
This page is about the
getlino startsite command.
- getlino startsite¶
The script will ask you some questions:
Run-time behaviour options:
Whether to run in batch mode, i.e. without asking any questions. Assume yes to all questions. Don't use this on a machine that is already being used.
Settings for the new site
A space-separated list of repositories for which this site uses the development version (i.e. not the PyPI release).
$ getlino startsite avanti mysite --dev-repos "lino xl"
Not that the sort order is important. The following would not work:
$ getlino startsite avanti mysite --dev-repos "xl lino"
Full path to the shared virtualenv to use for this site. Default value is the value specified during
getlino configure --shared-envIf this is empty, the new site will get its own virgin environment.
getlino startsite was interrupted, then it gets interesting.
If your applications is not listed in the applications known by getlino or if you'd like to install/deploy django application you can define a filename.ini file (use the example template here). Where appname, prjname, git_repo and settings_module are mandatory options in the getlino section. Everything else is optional. If you are deploying a django (non-lino) you must specify use_django_settings as True.
Then run the command:
# getlino startsite --ini-file filename.ini