Skip to content

Instantly share code, notes, and snippets.

@danypr92
Last active May 21, 2018 12:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danypr92/ee96503a12ce289b0922dafc5d413e43 to your computer and use it in GitHub Desktop.
Save danypr92/ee96503a12ce289b0922dafc5d413e43 to your computer and use it in GitHub Desktop.
Installation and use instruction to work with ARA - https://github.com/openstack/ara

Requirements

You can use this instructions without virtualenvwrapper making changes in service unit.

Install

  1. Create virtualenv:

$ mkvirtualenv ara

  1. Install ara package

(ara)$ pip install ara

Now you can run an ara service with ara-manager runserver.

  1. 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.

Work with ARA

To start to work with ara we need load environment variables that inform Ansible to use ARA.

  1. Load environment variables:

$ source <(python -m ara.setup.env)

  1. Start ARA application:
  • Whit systemd service: # systemctl start ara.local.service

  • Whithout systemd service: (ara)$ ara-manage runserver

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment