mirror of
https://github.com/ansible/awx.git
synced 2026-03-16 16:37:30 -02:30
Simplify Django organization, add South support.
This commit is contained in:
52
SETUP.md
Normal file
52
SETUP.md
Normal file
@@ -0,0 +1,52 @@
|
||||
SETUP
|
||||
=====
|
||||
|
||||
This will be an ansible playbook soon!
|
||||
|
||||
For now these are instructions for CentOS 6.
|
||||
|
||||
Install ansible-commander
|
||||
=========================
|
||||
|
||||
Before proceeding, be aware that this should be installed on it's own
|
||||
machine (or virtualmachine) as it is going to lock down the database.
|
||||
|
||||
Ansible will install ansible-commander using a playbook, so you first
|
||||
need to have ansible installed. Do this first and come back here.
|
||||
|
||||
You will also need the EPEL yum repository installed if using CentOS6.
|
||||
|
||||
First edit app_setup/vars/vars.yml to select a database password.
|
||||
|
||||
If you feel like you need to change it, the Django config file is also
|
||||
templated. See app_setup/templates/setting.py.j2. Most people will
|
||||
not need to change this.
|
||||
|
||||
run "make setup" to run the ansible setup playbook. It should run
|
||||
without erros.
|
||||
|
||||
This playbook will:
|
||||
|
||||
* install Django and required software components
|
||||
* install postgresql and configure authentication
|
||||
* initialize the database
|
||||
* initialize the first database table
|
||||
* synchronize the database and run any migrations
|
||||
|
||||
You may run this setup step again as needed as many times
|
||||
as you like.
|
||||
|
||||
Test the server
|
||||
===============
|
||||
|
||||
make runserver
|
||||
|
||||
access the server on 127.0.0.1:8000
|
||||
|
||||
Running through Apache
|
||||
======================
|
||||
|
||||
TODO.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user