Once zeus-ci is installed command line tool zci is available.
In order to initialize a project we need to run:
$ zci init [PROJECT_PATH]
By invoking this command we create a zeus-ci project. It would create a following structure of files and directories:
PROJECT_ROOT/
app/
zeusapp/
__init__.py
settings.py
urls.py
wsgi.py
manage.py
var/
builds/
logs/
venv/
... (content of Python sandbox)
Let’s describe briefly what those are:
We need to configure our project first. By default, our project would use sqlite database and RabbitMQ server as message broker (needed for communication between web server and build workers).
Note
Make sure to configure project for your needs before using it in production.
For running commands we will use manage.py script. For example run:
$ app/manage.py
to list all available commands.
$ app/manage.py syncdb
This will prepare our database. It will also ask to create administrator user which we should do now.
We need to go to http://127.0.0.1:8000/ and log in with credentials provided at the database preparation step. As admin user we can follow instructions on main page in order to create a project.