Merge branch 'master' of https://github.com/omwah/frontend into omwahmerge
Conflicts: documentation/guides/InstallationUbuntuApache.markdown
This commit is contained in:
commit
36d5bf784e
3 changed files with 119 additions and 5 deletions
|
@ -47,7 +47,6 @@ Download and install the source code. We recommend `/var/www/yourdomain.com` but
|
|||
|
||||
apt-get install git-core
|
||||
git clone git://github.com/openphoto/frontend.git /var/www/yourdomain.com
|
||||
chown -R www-data:www-data /var/www/yourdomain.com
|
||||
|
||||
#### Using tar
|
||||
|
||||
|
@ -55,12 +54,15 @@ Download and install the source code. We recommend `/var/www/yourdomain.com` but
|
|||
wget https://github.com/openphoto/frontend/tarball/master -O openphoto.tar.gz
|
||||
tar -zxvf openphoto.tar.gz
|
||||
mv openphoto-frontend-* yourdomain.com
|
||||
chown -R www-data:www-data yourdomain.com
|
||||
|
||||
Assuming that this is a development machine you only need to make the config writable by the user Apache runs as. Most likely `www-data`.
|
||||
|
||||
mkdir /var/www/yourdomain.com/src/userdata
|
||||
mkdir /var/www/yourdomain.com/src/html/photos
|
||||
mkdir /var/www/yourdomain.com/src/html/assets/cache
|
||||
chown www-data:www-data /var/www/yourdomain.com/src/userdata
|
||||
chown www-data:www-data /var/www/yourdomain.com/src/html/photos
|
||||
chown www-data:www-data /var/www/yourdomain.com/src/html/assets/cache
|
||||
|
||||
----------------------------------------
|
||||
|
||||
|
@ -116,7 +118,7 @@ Now you're ready to launch your OpenPhoto site. Point your browser to your host
|
|||
|
||||
Once you complete the 3 steps your site will be up and running and you'll be redirected there. The _setup_ screen won't show up anymore. If for any reason you want to go through the setup again you will need to delete the generated config file and refresh your browser.
|
||||
|
||||
rm /var/www/yourdomain.com/src/configs/generated/settings.ini
|
||||
rm /var/www/yourdomain.com/src/userdata/configs/yourdomain.com.ini
|
||||
|
||||
**ENJOY!**
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue