-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathINSTALL
114 lines (85 loc) · 2.56 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
Install with PIP
================
itools and ikaaro installation via pip
::
$ virtualenv .
$ ./bin/pip install itools==0.62.7
$ ./bin/pip install ikaaro==0.62.6
$ ./bin/pip install lpod-python (optional)
$ ./bin/pip install lxml (required by lpod-python, optional)
$ ./bin/pip install itws
Install without PIP
===================
initialize the virtual environment
::
$ pwd
/tmp/
$ virtualenv test_itws
$ cd test_itws
$ ls
bin include lib lib64
Get the required packages
::
$ mkdir Packages
$ cd Packages
$ wget http://download.hforge.org/itools/0.62/itools-0.62.7.tar.gz
$ wget http://download.hforge.org/ikaaro/0.62/ikaaro-0.62.6.tar.gz
$ wget http://download.hforge.org/itws/1.2/itws-1.2.0.tar.gz
$ wget http://download.lpod-project.org/lpod-python/lpod-python-0.9.2.tar.gz
$ wget http://codespeak.net/lxml/lxml-2.2.6.tgz
$ tar xzf itools-0.62.7.tar.gz
$ tar xzf ikaaro-0.62.6.tar.gz
$ tar xzf itws-1.2.0.tar.gz
$ tar xzf lpod-python-0.9.2.tar.gz
$ tar xzf lxml-2.2.6.tgz
$ ls
ikaaro-0.62.6 itools-0.62.7 itws-1.2.0
lpod-python-0.9.2 lxml-2.2.6 ikaaro-0.62.6.tar.gz
itools-0.62.7.tar.gz itws-1.2.0.tar.gz lpod-python-0.9.2.tar.gz
lxml-2.2.6.tgz
Install the packages
::
$ pwd
/tmp/test_itws/Packages
$ cd itools-0.62.7/
$ ../../bin/python setup.py install
$ cd ../ikaaro-0.62.6/
$ ../../bin/python setup.py install
$ cd ../itws-1.2.0/
$ ../../bin/python setup.py install
$ cd ../lpod-python-0.9.2/
$ ../../bin/python setup.py install
$ cd ../lxml-2.2.6/
$ ../../bin/python setup.py install
Deployment
==========
Create your instance
--------------------
::
$ ./bin/icms-init.py -m itws INSTANCE_NAME
Type your email address: [email protected]
*
* Welcome to ikaaro
* A user with administration rights has been created for you:
* username: [email protected]
* password: xxx
*
* To start the new instance type:
* icms-start.py INSTANCE_NAME
*
If you want to add more modules (ie tracker, calendar), see ikaaro documentation
Start the instance
------------------
::
$ ./bin/icms-start.py INSTANCE_NAME
Listen :8080
^CShutting down the server (gracefully)...
Start and detach the server::
$ ./bin/icms-start.py -d INSTANCE_NAME
$ firefox http://localhost:8080
Create your website
-------------------
- Go to http://localhost:8080/;new_resource
- Choose "ITWS website"
- Set the virtual host of your website (for example test.localhost)
Go to http://test.localhost:8080/ and test your new "ITWS website"