forked from hthetiot/basezf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
72 lines (57 loc) · 1.17 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
/**
* # MyProject - Install Guide
*
* # Maintainers
* - Harold Thétiot (hthetiot) - <hthetiot@gmail.com>
*
* # Last update: YYYY-MM-DD
*/
* Apache mods need to be enable
--------------
- Expire
- Rewrite
- Deflate
* Some Package have to be installed via apt :
--------------
+ PHP
- php5
- php-pear
- php5-mysqli
- php5-pgsql
- php5-curl
- php5-xmlrpc
- php5-json
+ Services
- gettext
- imagemagick
- memcached
- pwgen
- java 1.6
+ Css compression
- csstidy
+ Documentation
- doxygen
- graphviz
* Some Package have to be installed via pecl :
--------------
+ PHP
- apc
- memcache
* Locales need to be available on system
--------------
# sudo dpkg-configure locales
+ linux locale
- bg_BG.UTF-8
- de_DE.UTF-8
- en_GB.UTF-8
- en_US.UTF-8
- es_ES.UTF-8
- fr_FR.UTF-8
- it_IT.UTF-8
- ru_RU.UTF-8
* Init Project
-------------
- Set /etc/apache.conf from /etc/dist/apache.conf-dist by replace $PROJECT_PATH to you project path and
$PROJECT_DOMAIN by your domain name
- Rename MyProject Classes with this command for example:
$find . -iname *.php | sed 's/ /\\ /g' | sed 's/#/\#/g' | xargs sed -i 's#MyProject#NewProject#gi'