Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
app to store your portfolio, with ability to upload graphics, categorize and comment
Ruby HTML Other
branch: master
Failed to load latest commit information.
app order albums in navigation
bin
config load dotenv
db remove is_upload_to_stock in Album
lib migrate to rails 4.2.0.beta1
log Initial migration to Rails 4.1 and Ruby 2.1.2
public Initial migration to Rails 4.1 and Ruby 2.1.2
spec remove is_upload_to_stock in Album
vendor/assets migrate to rails 4.2.0.beta1
.env.example fix title image variable
.gitignore add dotenv
.rspec removed debug from .rspec
.ruby-gemset Initial migration to Rails 4.1 and Ruby 2.1.2
.ruby-version Initial migration to Rails 4.1 and Ruby 2.1.2
.travis.yml copy DB config for TravisCI
Capfile prepare deploy configs
Gemfile add dotenv
Gemfile.lock
LICENSE.txt
Procfile minor fixes
README.md Update README.md
Rakefile Initial migration to Rails 4.1 and Ruby 2.1.2
config.ru

README.md

Welcome to Portfolio

Portfolio is a web-application based on Rails 4.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
  • 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

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 images:publish_unpublished'

Contributing

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

License

Portfolio is provided as is, without any responsibility

Something went wrong with that request. Please try again.