A self hosted Web publishing platform on Rails.
Ruby JavaScript HTML CSS
Switch branches/tags
Latest commit 6abafad Nov 11, 2017 @mvz mvz Drop guard-rspec dependency
Guard brings in pry, which I want to get rid of, and a bucketload of
other dependencies.
Permalink
Failed to load latest commit information.
app Correct Rails/ApplicationRecord offense Oct 8, 2017
bin Match spring binstub with Rails 5.0 May 26, 2017
config Merge pull request #829 from gergu/add-polish-translations Oct 25, 2017
db Fix Lint/UselessAssignment offense Oct 8, 2017
doc Add license_finder configuration Sep 22, 2017
lib Prepare version 9.0.1 for release Aug 31, 2017
log Match files as generated by Rails 4.1 Sep 17, 2014
public Remove old cache directory May 26, 2017
publify_amazon_sidebar Autocorrect Gemspec/OrderedDependencies Oct 20, 2017
publify_core Merge pull request #833 from publify/update-rubocop Nov 11, 2017
publify_textfilter_code Autocorrect Gemspec/OrderedDependencies Oct 20, 2017
spec Fix Rails/TimeZone offenses Oct 8, 2017
themes/bootstrap-2 Update trackback display in bootstrap-2 theme Jul 9, 2017
vendor/assets Match files as generated by Rails 4.1 Sep 17, 2014
.gitignore Check in Gemfile.lock Sep 18, 2017
.hound.yml Unify Hound configuration May 28, 2017
.metrics Turn of syntax highlighting for metrical/metric_fu. Jul 1, 2011
.reek Exclude migrations from checking by Reek Oct 13, 2016
.rspec fixup! Upgrade to rspec-rails 3.0.2 Oct 18, 2014
.rubocop.yml Add RuboCop TODO items Oct 20, 2017
.rubocop_todo.yml Autocorrect Gemspec/OrderedDependencies Oct 20, 2017
.travis.yml Copy relevant database.yml Sep 18, 2017
CHANGELOG.md Prepare version 9.0.1 for release Aug 31, 2017
CONTRIBUTING.md Emphasise that all pull request steps should be followed Jun 8, 2016
Gemfile Drop guard-rspec dependency Nov 11, 2017
Gemfile.lock Drop guard-rspec dependency Nov 11, 2017
Guardfile More tidying for rubocop. Mar 4, 2015
MIT-LICENSE Update copyright information and contributor list May 19, 2017
README.md Update README Jul 29, 2017
Rakefile Match files as generated by Rails 4.1 Sep 17, 2014
TODO.txt Update TODO Aug 10, 2015
config.ru Autocorrect masked rubocop offences Aug 12, 2015
rspec.sample Move .rspec file to rspec.sample, because, each dev would build is own Oct 15, 2011

README.md

Publify

The Ruby on Rails publishing software formerly known as Typo

Build Status Code Climate Dependency Status

What's Publify?

Publify is a simple but full featured web publishing software. It's built around a blogging engine and a small message system connected to Twitter.

Publify follows the principles of the IndieWeb, which are self hosting your Web site, and Publish On your Own Site, Syndicate Everywhere.

Publify has been around since 2004 and is the oldest Ruby on Rails open source project alive.

Features

  • A classic multi user blogging engine
  • Short messages with a Twitter connection
  • Text filters (Markdown, Textile, SmartyPants, @mention to link, #hashtag to link)
  • A widgets system and a plugin API
  • Custom themes
  • Advanced SEO capabilities
  • Multilingual : Publify is (more or less) translated in English, French, German, Danish, Norwegian, Japanese, Hebrew, Simplified Chinese, Mexican Spanish, Italian, Lithuanian, Dutch, Polish, Romanian…

Demo site

You can give Publify a try

The login / password to the admin are:

  • Administrator: admin / admin
  • Publisher: publish / publish

The demo is reset every 2 hours.

Install

Download

You can download the latest Publify stable release (9.0.0)

If you want to run the master branch, you can clone the Publify repository. However, random things may be broken there at any time, so tread carefully!

Running the master branch in production is not recommended!

Install Publify locally

To install Publify you need the following:

  • CRuby (MRI) 2.2, 2.3 or 2.4
  • Ruby on Rails 5.0.x
  • A database engine, MySQL, PgSQL or SQLite3
  • A compatible JavaScript installation for asset compilation. See the execjs readme for details.
  • ImageMagick (used by mini_magick).
  1. Unzip Publify archive
  2. Rename database.yml.yourEngine as database.yml
  3. Edit database.yml to add your database name, login and password.
$ bundle install
$ rake db:setup
$ rake db:migrate
$ rake db:seed
$ rake assets:precompile
$ rails server

You can now launch you browser and access 127.0.0.1:3000.

Install Publify on a server

You can use your preferred installation method (e.g., Capistrano) to install Publify on a server. You will also need to set up the environment so it contains at least SECRET_KEY_BASE. Your web server may allow you to set this, or you can consider using a tool like dotenv.

Install Publify on Heroku

In order to install Publify on Heroku, you’ll need to do some minor tweaks.

First of all, you need to setup Amazon S3 storage to be able to upload files on your blog. Set Heroku config vars.

heroku config:set provider=AWS
heroku config:set aws_access_key_id=YOUR_AWS_ACCESS_KEY_ID
heroku config:set aws_secret_access_key=YOUR_AWS_SECRET_ACCESS_KEY
heroku config:set aws_bucket=YOUR_AWS_BUCKET_NAME

To generate the Gemfile.lock, run:

HEROKU=true bundle install

Remove Gemfile.lock from .gitignore and commit it.

Add the HEROKU config variable to your Heroku instance:

heroku config:set HEROKU=true

You also need to set Rails' secret key base. Generate one using rake secret, then set the Heroku config var:

heroku config:set secret_key_base=YOUR_GENERATED_SECRET

Push the repository to Heroku.

When deploying for the first time, Heroku will automatically add a Database plugin to your instance and links it to the application. After the first deployment, don't forget to run the database migration and seed.

heroku run rake db:migrate db:seed

If application error has occurred after migration, you need to restart Heroku server.

heroku restart

Resources

Maintainers

Current Maintainers

Frédéric de Villamil frederic@publify.co blog: http://t37.net

Matijs van Zuijlen blog: http://www.matijs.net/blog/

Thomas Lecavelier blog: http://blog.ookook.fr/

Yannick François blog: http://elsif.fr

Previous Maintainers & Notable Contributors

Cyril Mougel blog: http://blog.shingara.fr

Davide D'Agostino blog: http://www.lipsiasoft.com

Piers Cawley blog: http://www.bofh.org.uk/

Scott Laird

Kevin Ballard blog: kevin.sb.org

Patrick Lenz

Seth Hall

And many more cool people who’ve one way or another contributed to Publify.

Original Author: Tobias Luetke blog: http://blog.leetsoft.com/

Enjoy, The Publify team