version 1.2.1. Updated readme and comments in Gemfile
This commit is contained in:
parent
945173d294
commit
da1e8b3580
19
Gemfile
19
Gemfile
|
@ -4,16 +4,23 @@ gem 'rails'
|
||||||
|
|
||||||
gem 'mime-types', :require => 'mime/types'
|
gem 'mime-types', :require => 'mime/types'
|
||||||
gem "carrierwave", :git => 'git://github.com/jnicklas/carrierwave.git'
|
gem "carrierwave", :git => 'git://github.com/jnicklas/carrierwave.git'
|
||||||
|
|
||||||
|
# -- Database
|
||||||
|
# SQLite
|
||||||
|
gem 'sqlite3-ruby'
|
||||||
# MySQL:
|
# MySQL:
|
||||||
#gem 'mysql2'
|
#gem 'mysql2'
|
||||||
# PostgreSQL:
|
# PostgreSQL:
|
||||||
#gem 'pg'
|
#gem 'pg'
|
||||||
# SQLite
|
|
||||||
gem 'sqlite3-ruby'
|
|
||||||
|
|
||||||
# S3 support
|
# -- Cloud storage
|
||||||
|
# AWS S3 support. Can be disabled if using local file system instead of cloud storage.
|
||||||
gem 'fog'
|
gem 'fog'
|
||||||
|
|
||||||
|
# -- Photo resizing
|
||||||
|
# MiniMagick
|
||||||
|
gem "mini_magick"
|
||||||
|
|
||||||
# ImageMagick:
|
# ImageMagick:
|
||||||
#gem "rmagick", :require => 'RMagick'
|
#gem "rmagick", :require => 'RMagick'
|
||||||
|
|
||||||
|
@ -21,8 +28,6 @@ gem 'fog'
|
||||||
#gem "RubyInline"
|
#gem "RubyInline"
|
||||||
#gem "image_science", :git => 'git://github.com/perezd/image_science.git'
|
#gem "image_science", :git => 'git://github.com/perezd/image_science.git'
|
||||||
|
|
||||||
# MiniMagick
|
# -- EXIF
|
||||||
gem "mini_magick"
|
# Mini exif tool. Can be disabled. Remove exif_read and exif_write filters in photo model
|
||||||
|
|
||||||
# Mini exif tool
|
|
||||||
gem "mini_exiftool"
|
gem "mini_exiftool"
|
27
README
27
README
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
Made by Espen Antonsen.
|
Made by Espen Antonsen.
|
||||||
|
|
||||||
Version 1.2.0 for Rails3
|
Version 1.2.1 for Rails3. See the rails2 branch for previous version.
|
||||||
|
|
||||||
http://balderapp.com
|
http://balderapp.com
|
||||||
|
|
||||||
|
@ -27,17 +27,13 @@ Free for personal use. Contact me for commercial license.
|
||||||
Rails 3.0
|
Rails 3.0
|
||||||
|
|
||||||
Software
|
Software
|
||||||
- ImageMagicK (required for Carrierwave resizing). Can also use ImageScience and MiniMagick
|
Default:
|
||||||
- ExifTool (required for Mini_EfixTool). Can be disabled.
|
- ExifTool (required for Mini_EfixTool). Can be disabled. Default is to read EXIF tags but not write them to the file when database is updated as writing EXIF is slow. To enable just uncomment exif_write in photo.rb
|
||||||
|
- ImageMagicK. Carrierwave can use either RMagicK or MiniMagicK (default). To change resize option the correct gem must be used (specified in Gemfile) and change included setting for Carrierwave in file_uploader.rb
|
||||||
Ruby Gems
|
|
||||||
- AuthLogic
|
|
||||||
- Mime-Types
|
|
||||||
- Carrierwave
|
|
||||||
- Mini_Exiftool (to read exif info to database and write exif to original file. See photo.rb model). Can be disabled.
|
|
||||||
Optional:
|
Optional:
|
||||||
- AWS/S3 (if saving to Amazon s3)
|
- ImageScience.
|
||||||
|
|
||||||
|
Ruby Gems: See Gemfile
|
||||||
|
|
||||||
== Configuration
|
== Configuration
|
||||||
|
|
||||||
|
@ -74,7 +70,7 @@ http://blog.inspired.no/rails-photo-gallery-balder-on-heroku-and-s3-726
|
||||||
|
|
||||||
=== Optional: add photos directly to disk
|
=== Optional: add photos directly to disk
|
||||||
|
|
||||||
The gallery has a web-based upload tool. Alternatively you can upload files directly by doing this:
|
The gallery has a web-based upload tool. Alternatively you can upload files directly to the upload folder. This means you can import an existing folder based photo collection to Balder.
|
||||||
|
|
||||||
Put photos in containing folders(albums) in the specified gallery folder.
|
Put photos in containing folders(albums) in the specified gallery folder.
|
||||||
Hierarchy of folders is not fully supported.
|
Hierarchy of folders is not fully supported.
|
||||||
|
@ -91,6 +87,9 @@ Every time you manually add photos to disk you must scan by visiting /photos/sca
|
||||||
|
|
||||||
== Version history
|
== Version history
|
||||||
|
|
||||||
|
1.2.1
|
||||||
|
- Using plupupload instead of uploadify for non-flash upload options. Can now use html5, normal form, silverlight, gears and browserplus for photo upload.
|
||||||
|
|
||||||
1.2.0
|
1.2.0
|
||||||
- New storage path: "/uploads/files/" instead of "/uploads/". Make sure you move your photos or adjust the storage path.
|
- New storage path: "/uploads/files/" instead of "/uploads/". Make sure you move your photos or adjust the storage path.
|
||||||
|
|
||||||
|
@ -98,6 +97,12 @@ Every time you manually add photos to disk you must scan by visiting /photos/sca
|
||||||
|
|
||||||
- Testing...
|
- Testing...
|
||||||
|
|
||||||
|
== IDEAS
|
||||||
|
- Themes
|
||||||
|
- Improved UX
|
||||||
|
- Mobile/Tablet friendly display using CSS media queries
|
||||||
|
Patches welcome!
|
||||||
|
|
||||||
== Copyright and license info
|
== Copyright and license info
|
||||||
|
|
||||||
This code is copyrighted by Espen Antonsen. The source code is available free under the GNU General Public License version 3 (GPLv3).
|
This code is copyrighted by Espen Antonsen. The source code is available free under the GNU General Public License version 3 (GPLv3).
|
||||||
|
|
Loading…
Reference in a new issue