Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
projects:pinup [2023/03/26 12:03] – [Pinup Home Photos] darron | projects:pinup [2023/12/20 09:03] (current) – [Pinup Home Photos] darron | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== Pinup Home Photos==== | ==== Pinup Home Photos==== | ||
- | |||
- | This documentation is WORK-IN-PROGRESS | ||
Pinup is a home photo gallery application written in PHP | Pinup is a home photo gallery application written in PHP | ||
Line 12: | Line 10: | ||
The user interface is designed for simplicity. | The user interface is designed for simplicity. | ||
+ | |||
+ | Pinup was written in March 2023 and updated in December 2023 with bug fixes, database and UI tweaks, and a slideshow feature. | ||
===Features=== | ===Features=== | ||
Line 24: | Line 24: | ||
* Gallery view of tagged images | * Gallery view of tagged images | ||
* Gallery view of all images | * Gallery view of all images | ||
+ | * Slideshow of loved, tagged or all images | ||
Setup requires a Linux host running PHP and apache2. The command | Setup requires a Linux host running PHP and apache2. The command | ||
Line 53: | Line 54: | ||
added later. | added later. | ||
- | ===Install=== | + | ===Site creation=== |
+ | |||
+ | In this example, a gallery called mrchips is created. | ||
+ | |||
+ | ==Server== | ||
+ | |||
+ | Install | ||
+ | |||
+ | ==Install== | ||
+ | |||
+ | Create site directory and download. | ||
< | < | ||
- | hg clone http:// | + | sudo mkdir mrchips |
+ | sudo chown user mrchips | ||
+ | hg clone http:// | ||
+ | cd mrchips | ||
</ | </ | ||
+ | |||
+ | ==Config== | ||
+ | |||
+ | Create config from template. | ||
+ | |||
+ | < | ||
+ | sed ' | ||
+ | </ | ||
+ | |||
+ | After the config is created above, edit the IP address section then | ||
+ | move it to the correct location for your install. | ||
+ | |||
+ | Include the config explicitly if required and restart the web service. | ||
+ | |||
+ | ==Initialise== | ||
+ | |||
+ | Unzip any images into the Images directory within the web root. | ||
+ | |||
+ | Import the images into the site. | ||
+ | |||
+ | < | ||
+ | ./ | ||
+ | </ | ||
+ | |||
+ | ===Usage=== | ||
+ | |||
+ | <wrap right> | ||
+ | {{: | ||
+ | {{: | ||
+ | {{: | ||
+ | {{: | ||
+ | </ | ||
+ | |||
+ | When you first visit the site it will land on the Love page. This will | ||
+ | contain no images for now. The images link will contain every image | ||
+ | imported. On this page you can love images and also create a tag for | ||
+ | an image and add that tag to other images to create a group. | ||
+ | |||
+ |