Installing manually+Debian
contributed by nico:
- already had my server setup with apache2, passenger, rvm and postgresql (howto)
- I also installed imagemagick (in case rmagick would work with it)
- got to your webroot
- sudo git clone https://github.com/wagn/wagn.git
- now you have a wagn folder
- change permissions to have write access, e.g.:
sudo chown -R foobar:www-data wagn - cd wagn (or whatever foldername you want)
- I tried, but no, rmagick is not working, so: outcomment rmagick in Gemfile
- bundle install --without mysql:memcache:test:debug:development:assets
- bundle exec rake wagn:install
- change your database.yml to fit your postgresql settings
- and of course have a working database already set up;
wagn does dropping, creating, loading schema
so your database user should be granted createdb privileges - bundle exec rake wagn:create and you should see the db setting up
- create a /etc/apache2/sites-available/wagn.domain.com
- ...with e.g. a virtual host:
<VirtualHost *:80>
ServerName wagn.domain.con
# !!! Be sure to point DocumentRoot to 'public'!
DocumentRoot /var/www/wagn/public
<Directory /var/www/wagn/public>
# This relaxes Apache security settings.
AllowOverride all
# MultiViews must be turned off.
Options -MultiViews
</Directory>
</VirtualHost> - a2ensite wagn.domain.com
- /etc/init.d/apache2 reload
- got to your site and voila:
Welcome, Wagneer! To get started, set up an account.