summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /www-apps/gallery/files
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'www-apps/gallery/files')
-rw-r--r--www-apps/gallery/files/postinstall-en.txt24
-rwxr-xr-xwww-apps/gallery/files/postinstall-en2.txt27
-rw-r--r--www-apps/gallery/files/postupgrade-en.txt19
3 files changed, 70 insertions, 0 deletions
diff --git a/www-apps/gallery/files/postinstall-en.txt b/www-apps/gallery/files/postinstall-en.txt
new file mode 100644
index 000000000000..96b52684b59e
--- /dev/null
+++ b/www-apps/gallery/files/postinstall-en.txt
@@ -0,0 +1,24 @@
+For new installations:
+
+1. Install the webapp using
+
+ webapp-config -h <VHOST_HOSTNAME> -d <VHOST_APPDIR> -I gallery X.Y.Z
+
+where either the VHOST_HOSTNAME or VHOST_APPDIR are optional and X.Y.Z
+is the version of gallery you just emerged.
+
+2. Create a mysql database for Gallery 3.
+
+ mysqladmin -u root -p create gallery3
+ mysql gallery3 -u root -p -e \
+ "GRANT ALL ON gallery3.* TO username@localhost IDENTIFIED BY 'password'"
+
+3. Now browse to http://<VHOST_HOSTNAME>/<VHOST_APPDIR>/installer. Make sure
+the database name, user and password match what you created in step 2.
+
+4. Enjoy!
+
+
+The Gallery 3 user's guide can be found at
+
+ http://codex.galleryproject.org/Gallery3:User_guide:Gallery3:Installing_and_upgrading#Upgrading
diff --git a/www-apps/gallery/files/postinstall-en2.txt b/www-apps/gallery/files/postinstall-en2.txt
new file mode 100755
index 000000000000..bcc977036752
--- /dev/null
+++ b/www-apps/gallery/files/postinstall-en2.txt
@@ -0,0 +1,27 @@
+For new installations:
+
+1. Create a directory to share photos and make it writeable by the web server.
+
+2. Create a database for Gallery 2.
+ MySQL: mysqladmin -uroot create gallery2
+ mysql gallery2 -uroot -e"GRANT ALL ON gallery2.* TO
+ username@localhost IDENTIFIED BY 'password'"
+ PostgreSQL: createdb gallery2 -E UNICODE
+ if that doesn't work, try
+ createdb gallery2 -E SQL_ASCII
+ if that doesn't work either, try
+ createdb gallery2
+
+3. Now browse to http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/install
+
+NOTE: The installer may complain that FfmpegToolkit.class has been modified.
+This is normal, as we patch it to fix a bug with newer versions of ffmpeg.
+
+For upgrades:
+
+1. Copy over your config.php and the g2data directory.
+
+2. If you are using a PHP accelerator, flush its cache.
+
+3. Browse to http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/upgrade and follow the
+ instructions.
diff --git a/www-apps/gallery/files/postupgrade-en.txt b/www-apps/gallery/files/postupgrade-en.txt
new file mode 100644
index 000000000000..2d41eb21f0e0
--- /dev/null
+++ b/www-apps/gallery/files/postupgrade-en.txt
@@ -0,0 +1,19 @@
+To upgreade:
+
+1. Upgrade the webapp using
+
+ webapp-config -h <VHOST_HOSTNAME> -d <VHOST_APPDIR> -U gallery X.Y.Z
+
+2. Direct your browser to
+
+ http://<VHOST_HOSTNAME>/<VHOST_APPDIR>/index.php/upgrader
+
+or alternatively, at a shell prompt, run
+
+ php index.php upgrade
+
+3. Enjoy!
+
+The Gallery 3 user's guide can be found at
+
+ http://codex.galleryproject.org/Gallery3:User_guide:Gallery3:Installing_and_upgrading#Upgrading