Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

#Plainfolio (Self-Hosted)

###Plainfolio is a relatively simple Portfolio on Rails for managing and displaying your projects.

Includes tags, orderable columns, password protection, WYSIWYG entry creation plus a range of output options (pdf, json, csv and rss). See the Plainfolio site for a live example.

  • WYSIWYG via cleditor
  • PDF export is handled by Prawn. Depending on what your Portfolio looks like (eg text based, image based, video based) the default export can look pretty feeble so you might want to edit generate_pdf.rb in the Services folder to change thumbnail sizes, etc.
  • Json export is handled by Jbuilder and can be found in the json.json.jbuilder portfolios view file
  • Pagination via will_paginate
  • Entry URLs slugged via Friendly_id
  • jQuery form color selection via 'jquery-minicolors-rails'
  • Impressionist to keep a very basic unique views count

Once successfully deployed you should see a 'create admin account' page. From there you can log in and create your portfolio.

Login at

Logout at

Small admin page (with hit stats, password change) at (or click the 'admin' button when logged in)

To try it out on digitalocean in 10 minutes:

(accurate 6/12/2014 -- assumes intermediate knowledge of Rails & command line)

- Create a 1GB droplet running 'Ruby on Rails on 14.04 (Nginx + Unicorn)'. A $5/month droplet works but you might need to [add swap]( to run Bundler.
- Follow the [Initial Server Setup with Ubuntu 14.04 guide](, at least to a point you have a new user with root privileges set up.
- Open up the terminal & log in as your new user
- Navigate to /home/rails and temporarily give yourself ownership ('sudo chown -R YOUR-ACCOUNT-NAME:YOUR-ACCOUNT-NAME .' - note the '.')
- Connect via ftp, delete everything in home/rails/app and replace it with what's in the plainfolio-self-hosted app folder
- Replace config/routes.rb
- Delete everything in /db/ and replace with the Plainfolio db files.
- Replace the gemfile in root rails folder.
- Back in the terminal, bundle update then bundle install the new gemfile
- Type 'rake db:setup'
- Type 'RAILS_ENV=production rake db:create db:schema:load'
- Type 'rake assets:precompile'
- Type 'sudo service unicorn restart'
- Now change the Rails directory owner back to the default Rails one DigitalOcean provided ('sudo chown -R rails:rails .')
- Go to droplet IP and you should now see the admin account creation page. 


No description, website, or topics provided.






No packages published