Skip to content

Commit

Permalink
Minor tweaks and updates. 🌸
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitri Popov committed Mar 24, 2015
1 parent e91345a commit 16348c2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Mejiro is a forgetful single-file PHP web app for instant photo publishing. The
* **Optional description text** You can add a description to each photo by creating an accompanying *.txt* file. The app can also read and display descriptions from the photo's *UserComment* EXIF field.
* **Link to RAW** For each photo in the JPEG format, you can upload the accompanying RAW file, and Mejiro automatically adds a link to it.
* **Automatic language detection** Mejiro automatically detects the browser language and picks the description text file with the appropriate language prefix.
* **Keyboard shortcuts** The application supports keyboard shortcuts for common actions.
* **CrazyStat integration** Mejiro supports integration with the [CrazyStat](http://en.christosoft.de/CrazyStat) web analytics software.

## Requirements
Expand Down
12 changes: 6 additions & 6 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
$title = "Mejiro";
$tagline = "No-frills open source photo grid";
$footer="Powered by <a href='https://github.com/dmpop/mejiro'>Mejiro</a> &mdash; pastebin for your photos";
$expire = false; // Set to true to enable the expiration feature
$days = 15; // Expiration period
$stats = true; // Enable web statistics (requires CrazyStat)
$expire = false; // Set to true to enable the expiration feature
$days = 15; // Expiration period
$stats = false; // Enable web statistics (requires CrazyStat)
$reverse_order = false; // Set to true to show thumbnails in the reverse order (oldest ot newest)
$google_maps=false; //Set to true to use Google Maps instead of OpenStreetMap
$password='m0nk3y'; //Upload password
// ---------------------
$google_maps=false; //Set to true to use Google Maps instead of OpenStreetMap
$password='m0nk3y'; //Upload password
// -----------------------
?>

<style>
Expand Down
8 changes: 8 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
#!/bin/bash

if [ "$(whoami)" != "root" ]; then
echo "Run this script as sudo or as root"
exit 1
fi

apt-get update
apt-get -y install apache2 php5 php5-gd git

cd /var/www/
git clone https://github.com/dmpop/mejiro.git
chown www-data:www-data -R mejiro/

echo "All done!"

0 comments on commit 16348c2

Please sign in to comment.