blob: 529012f0f575da7e2ab4246af28da1b082e9d6e8 (
plain)
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
|
Linaro publishing platform installation
=======================================
Linaro publishing platform currently consists of two separate parts:
* upload system
* web site for downloads
Dependencies
------------
* python
* apache2
* libapache2-mod-python
* libapache2-mod-xsendfile (>=0.10)
* python-django (>=1.3.1)
* python-ldap (3.3.1)
* django-auth-ldap (1.6.1)
* textile
* python-requests
To do development, you need a few more dependencies. Please check the
HACKING file.
Tests
-----
Testing infrastructure is based on 'testrepository' and requires at least
Python and Apache2:
To run tests for upload system and helper scripts:
$ testr init
$ testr run
To run tests for Django application:
$ python manage.py test
Test plans
..........
To run the test plans from testplans/ subdirectory against
snapshots.linaro.org and releases.linaro.org, execute the following:
$ testr init
$ testr run testplans.test_suite
These tests require an internet connection.
Deployment
----------
For current Linaro deployment, please see
http://bazaar.launchpad.net/~linaro-automation/linaro-license-protection/configs/view/head:/README
Upload system
-------------
Upload system deals with files in a private location and moves them into
a corresponding subdirectory under the public location (being served through
the web site).
Refer to the Linaro deployment document above to see an example setup.
Web site for downloads
----------------------
This is a django application, so standard django steps apply:
./manage.py syncdb
./manage.py collectstatic
./manage.py runserver
A configuration with mod_wsgi is described in the Linaro deployment README
(referred to above).
|