mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
Change the way we sync, add notes about superuser setup.
This commit is contained in:
parent
ee4160af93
commit
273b447250
3
Makefile
3
Makefile
@ -15,6 +15,9 @@ setup:
|
||||
# use ansible to ansible ansible commander locally
|
||||
ansible-playbook app_setup/setup.yml --verbose -i "127.0.0.1," -c local -e working_dir=`pwd`
|
||||
|
||||
adduser:
|
||||
python manage.py createsuperuser
|
||||
|
||||
syncdb:
|
||||
# only run from initial setup
|
||||
python manage.py syncdb
|
||||
|
||||
4
SETUP.md
4
SETUP.md
@ -35,6 +35,10 @@ This playbook will:
|
||||
You may run this setup step again as needed as many times
|
||||
as you like.
|
||||
|
||||
Before you login, you must also run "make adduser" to create
|
||||
a superuser. This will allow you to login to the app. There
|
||||
is no default user.
|
||||
|
||||
Test the server
|
||||
===============
|
||||
|
||||
|
||||
@ -50,9 +50,7 @@
|
||||
template: src=templates/local_settings.py.j2 dest=${working_dir}/lib/settings/local_settings.py
|
||||
|
||||
- name: sync django database
|
||||
django_manage: >
|
||||
command=syncdb
|
||||
app_path=${working_dir}
|
||||
command: python ${working_dir}/manage.py syncdb --noinput
|
||||
|
||||
- name: run south migrations
|
||||
command: python ${working_dir}/manage.py migrate main
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user