- Python2.7
- pip
- virtualenvwrapper
You can use this instructions without
virtualenvwrapper
making changes in service unit.
- Create virtualenv:
$ mkvirtualenv ara
- Install
ara
package
(ara)$ pip install ara
Now you can run an ara
service with ara-manager runserver
.
- Copy
ara.local.service
systemd service in your systemd services directory/etc/systemd/system/
.
Then edit the file remplacing th <USER>
by your username.
This last step is optional, but recommended.
To start to work with ara
we need load environment variables that inform Ansible to use ARA.
- Load environment variables:
$ source <(python -m ara.setup.env)
- Start ARA application:
-
Whit systemd service:
# systemctl start ara.local.service
-
Whithout systemd service:
(ara)$ ara-manage runserver