22
33This document shows how to install autoDeploy on Ubuntu System
44
5+ # Install Server
6+
57* Create an autodeploy user
68``` sh
79# adduser --system --home /opt/autodeploy/home --shell /bin/bash autodeploy
@@ -10,21 +12,17 @@ This document shows how to install autoDeploy on Ubuntu System
1012``` sh
1113# adduser autodeploy sudo
1214```
15+ * Download The latest release from [ github] ( https://github.com/mkalioby/AutoDeploy/releases )
16+ * Expand the downloaded archive to '/opt/autodeploy/home'
1317* Copy the file in UnixConfig to /etc/sudoers.d/
1418
1519* Install the Client Library
1620``` sh
1721# python setup.py install
1822```
19-
20- * Install pyCrypto
21- ``` sh
22- # pip install python-pycrypto
23- ```
24-
25- * Install yaml
23+ * Install pyCrypto and pyYAML
2624``` sh
27- # pip install pyyaml
25+ # pip install python-pycrypto pyyaml
2826```
2927
3028* Edit Server init script so that it points to installation directory
@@ -35,18 +33,27 @@ This document shows how to install autoDeploy on Ubuntu System
3533sudo update-rc.d autodeploy-server start
3634```
3735
36+ # Install Web Application
37+
38+ * Install required Packages
39+ ``` sh
40+ sudo pip install django==1.8 django-tables2==1.0.4 django-tables2-reports
41+ ```
42+
3843* Configure your database
39- * Edit Settings file.
40- * Create empty database in your DBMS.
44+ * Create empty database in your DBMS.
45+ * Edit Settings file in ` webapp/autoDeploy/settings.py ` .
46+
47+ * Create Database by
4148``` sh
4249python manage.py migrate
4350```
44- * Start Django Sever
51+ 1 . Start Django Sever
4552``` sh
4653python manage.py runserver IP:PORT
4754```
4855
49- A Guide to show how to configure autodeploy Django webapp with Apache should be done.
56+ TBD: A Guide to show how to configure autodeploy Django webapp with Apache should be done.
5057
5158
5259
0 commit comments