RETIRED, this project was merged into a single ara repository
Go to file
David Moreau Simard fdbc4e04ac
Improve default django logging settings
Start with this for now, we can improve it further down the road.

Change-Id: Ia137f961e397369c73161c7db9a719d1447e3652
2018-06-20 08:12:44 -04:00
api Add completed attribute to plays and tasks, remove files from tasks 2018-06-19 17:28:22 -04:00
ara Improve default django logging settings 2018-06-20 08:12:44 -04:00
doc/source/_static Bootstrap the repository with the basic machinery (#1) 2018-03-29 12:36:22 -04:00
standalone Refactor django models 2018-03-29 12:36:35 -04:00
.editorconfig 💥 first commit 2018-03-29 12:36:14 -04:00
.gitignore Bootstrap the repository with the basic machinery (#1) 2018-03-29 12:36:22 -04:00
.gitreview Added .gitreview 2018-03-27 11:35:47 +00:00
LICENSE 💥 first commit 2018-03-29 12:36:14 -04:00
README.rst Add a script to create mock data 2018-03-29 12:36:29 -04:00
manage.py 💥 first commit 2018-03-29 12:36:14 -04:00
requirements.txt Bump Django to >2 2018-03-29 12:36:23 -04:00
setup.cfg Bootstrap the repository with the basic machinery (#1) 2018-03-29 12:36:22 -04:00
setup.py Bootstrap the repository with the basic machinery (#1) 2018-03-29 12:36:22 -04:00
test-requirements.txt Bootstrap the repository with the basic machinery (#1) 2018-03-29 12:36:22 -04:00
tox.ini Bootstrap the repository with the basic machinery (#1) 2018-03-29 12:36:22 -04:00

README.rst

ara-django

image

An experiment with Django at the core of the ARA 1.0 backend. This is not stable or production-ready.

If you are looking for ARA Records Ansible, the Ansible callback plugin and reporting interface, you will find the repository here.

We are prototyping outside the main repository due to the vast changes involved and will merge back as appropriate.

Documentation

Work in progress

This is python3 only right now.

TL;DR: Using tox is convenient for the time being:

# Use the source Luke
git clone https://github.com/dmsimard/ara-django
cd ara-django

# Install tox
pip install tox # (or the tox python library from your distro packages)

# Run test server -> http://127.0.0.1:8000/api/v1/
tox -e runserver

# Create mock data
source .tox/runserver/bin/activate
python standalone/mockdata.py

# Run actual tests or get coverage
tox -e pep8
tox -e py35
tox -e cover

# Build docs
tox -e docs

Contributors

See contributors on GitHub.

Copyright

Copyright (c) 2018 Red Hat, Inc.

ARA is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

ARA is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with ARA.  If not, see <http://www.gnu.org/licenses/>.