-
Notifications
You must be signed in to change notification settings - Fork 2
/
INSTALL.txt
47 lines (35 loc) · 1.14 KB
/
INSTALL.txt
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
GETTING STARTED
If you have CakePHP 1.3, and have setup the cake to be in your PATH
git clone [email protected]:chaw.git
cd chaw
cake bake db_config
cake schema create Chaw
visit, http://localhost/chaw/
otherwise,
cd /your/document_root
git clone git://github.com/cakephp/cakephp1x.git
cd cakephp1x
git checkout -b 1.3 origin/1.3
git clone [email protected]:chaw.git
cd chaw
../cake/console/cake -app chaw bake db_config
../cake/console/cake -app chaw schema create
visit, http://localhost/chaw/
FOR GIT
make sure "git" is in $PATH
create the users...
on OSX
http://osxdaily.com/2007/10/29/how-to-add-a-user-from-the-os-x-command-line-works-with-leopard/
sudo dscl . -create /Users/git
sudo dscl . -create /Users/git UserShell /bin/bash
sudo dscl . -create /Users/git NFSHomeDirectory /path/to/chaw/content/git/repo
sudo dscl . -create /Users/svn
sudo dscl . -create /Users/svn UserShell /bin/bash
sudo dscl . -create /Users/svn NFSHomeDirectory /path/to/chaw/content/svn/repo
on *nix
http://blog.drewolson.org/2008/05/remote-git-repos-on-ubuntu-right-way.html
adduser ...
GOTCHAS
-/etc/sshd_config
AllowUsers is all or has the git and svn users
StrictModes no