Portfolio is a web-application based on Rails 3.2.x framework that allows you create portfolio with images
- Upload artworks and show them in Gallery or Album
- Organize photos in Projects, connecting a topic or event
- Automatic upload to Flickr in proper sets
- Watermarks, Tags, Search, Contacts page, Localization
- Useful admin UI
Make sure following software is installed:
brew install optipng jpegoptim imagemagick
Clone project repo
git clone https://github.com/rilian/portfolio.git
Migrate and seed database:
cd portfolio && rake db:migrate && rake db:seed
Start the web server
Go to http://localhost:3000
Modify seeded user account and password
Update settings -> 'production' in database or login and update on site
Set up Flickr API keys and use rake task to update tokens
Deploy with capistrano
If you need to run remotely rake task, use
cap invoke COMMAND='cd PATH_TO_APPLICATION && bundle exec rake RAILS_ENV=production images:recreate_versions'
cap invoke COMMAND='cd /home/username/apps/portfolio/current && bundle exec rake RAILS_ENV=production flickraw:upload_images'
I encourage you to test and use the software, send your pull-requests with improvements and suggest cool features!
You may find useful information on API used in Portfolio project on these pages
Portfolio is provided as is, without any responsibility