-
Notifications
You must be signed in to change notification settings - Fork 304
The setup codepath
Ben Cipollini edited this page Feb 25, 2014
·
1 revision
Setup is wrapped in OS-specific scripts (setup_linux.sh
, for example). What that really does is call into the setup
management command located in the kalite/management/commands
directory.
Setup does all of the necessary configuration, including:
- Setting up the database for KA Lite
- Requesting a username and password to create an admin account
- Requesting information about your server.
Setup can also run to upgrade your installation.
Setup can also be run in non-interactive mode, where all information is either input as parameters, or sensible defaults are used.
There is a (secret) way to run setup from within the kaserve
command that will install the server at the time of its first launch.