-
Notifications
You must be signed in to change notification settings - Fork 30
How to configure Crew
Denis Roussel edited this page Jun 12, 2013
·
10 revisions
This is the location where Crew stores its internal git repositories : you will never need to go there.
So it must be writable by your web server user (ex: www-data).
For example, if your repositories clones are to be stored in /my/path
./symfony crew:config set repositories_path /my/path
./symfony crew:create-user login password DisplayedNickname email@example.com
Apache user of Crew's server must be able to communicate with remote server.
If your project is private, generate SSH key for apache user :
sudo -u www-data ssh-keygen -t rsa
And setup read-only access on your remote with its public key /var/www/.ssh/id_rsa.pub
.
Don't forget to update your known_hosts
:
sudo -u www-data ssh -T git@github.com (GitHub example)
Before adding your first project :
- If you're a hacker, configure your git test repository.
- On Mac OS X, set $PATH environment variable for apache2.
Login with your new created user and go to the Crew's administration page : http://your-crew-server/crew/admin.php/
Then, add a project :
- Project name : name of your project (ex: BombArena)
- Read-Only remote url : your git project origin, read only access recommended (ex: git://github.com/KuiKui/bombarena.git)