Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

app to store your portfolio, with ability to upload graphics, categorize and comment

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 db
Octocat-spinner-32 lib
Octocat-spinner-32 log
Octocat-spinner-32 public
Octocat-spinner-32 script
Octocat-spinner-32 spec
Octocat-spinner-32 vendor
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rspec
Octocat-spinner-32 .rvmrc.example
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 Capfile
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 LICENSE.txt
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 config.ru
README.md

Welcome to Portfolio

Portfolio is a web-application based on Rails 3.2.x framework that allows you create portfolio with images

Key features:

  • 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

Build Status TravisCI Code Climate Coverage Status Dependency Status

Getting Started

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

rails s

Go to http://localhost:3000

Deploy

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

rake flickraw:get_flickr_tokens

Deploy with capistrano

cap deploy:config cap deploy

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'

Contributing

I encourage you to test and use the software, send your pull-requests with improvements and suggest cool features!

Additional Info

You may find useful information on API used in Portfolio project on these pages

http://hanklords.github.com/flickraw/

http://disqus.com/api/

License

Portfolio is provided as is, without any responsibility

Something went wrong with that request. Please try again.