Fabric deployment script for gitorious
APACHE-2.0 License
Big thank you to Christian Johansen for such a great install walkthru. http://cjohansen.no/en/ruby/setting_up_gitorious_on_your_own_server
Ryan Phillips
Apache License
edit fabfile.py change the SITE_NAME to a reasonable FQDN. In addition, make sure to setup your email address in SITE_EMAIL.
The database.yml file needs to know your database password. The fab deploy
command will prompt you for a password. Make sure both of these passwords
match.
1a. Setup DNS, or 1b. edit /etc/hosts and add the IP and FQDN to your hosts file 2. Browse to the FQDN
Google for a howto on setting up email. Gitorious is setup to use a sendmail compatible server... Postfix works.
make sure email is setup first on your server ssh to the server cd /var/www/[SITE_NAME]/gitorious env RAILS_ENV=production ruby script/create_admin ENV RAILS_ENV=production script/console
user = User.first user.login = "username" # Change to your desired username user.activate user.accept_terms user.save