add bootstrap to ansible and vagrant for django-bootstrap3 support
This commit is contained in:
parent
f6597ec69e
commit
cea3252322
|
@ -30,7 +30,7 @@ Vagrant.configure("2") do |config|
|
||||||
#zu installierende Pakete
|
#zu installierende Pakete
|
||||||
apt-get install -y apache2 python3-django mariadb-server avahi-daemon \
|
apt-get install -y apache2 python3-django mariadb-server avahi-daemon \
|
||||||
libnss-mdns libapache2-mod-wsgi-py3 python3-mysqldb python3-pip
|
libnss-mdns libapache2-mod-wsgi-py3 python3-mysqldb python3-pip
|
||||||
pip3 install django-extensions Pillow
|
pip3 install django-extensions Pillow django-bootstrap3
|
||||||
|
|
||||||
/vagrant/ansible/roles/web_AI-5/tasks/setup_script.sh
|
/vagrant/ansible/roles/web_AI-5/tasks/setup_script.sh
|
||||||
SHELL
|
SHELL
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
name:
|
name:
|
||||||
- django-extensions
|
- django-extensions
|
||||||
- Pillow
|
- Pillow
|
||||||
|
- django-bootstrap3
|
||||||
executable: pip3
|
executable: pip3
|
||||||
|
|
||||||
- name: Run the setup script to add some final touches
|
- name: Run the setup script to add some final touches
|
||||||
|
|
|
@ -39,6 +39,7 @@ INSTALLED_APPS = [
|
||||||
'django.contrib.sessions',
|
'django.contrib.sessions',
|
||||||
'django.contrib.messages',
|
'django.contrib.messages',
|
||||||
'django.contrib.staticfiles',
|
'django.contrib.staticfiles',
|
||||||
|
'bootstrap3'
|
||||||
]
|
]
|
||||||
|
|
||||||
MIDDLEWARE = [
|
MIDDLEWARE = [
|
||||||
|
|
Loading…
Reference in New Issue