Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.

an independent, reader-supported newspaper serving dublin, ireland

License

Notifications You must be signed in to change notification settings

DublinInquirer/dublininquirer-com

Repository files navigation

README

This runs dublininquirer.com, a local news publication in Dublin, Ireland.

It's a fairly standard Rails app with a bunch of little hacks to facilitate a slow transition from a Wordpress installation (we switched over Summer 2018).

Get set up

You'll need Ruby installed with rbenv or rvm, as well as postgresql, yarn, redis, and imagemagick (all available via Homebrew).

Get the app and database set up:

bundle
rake db:create
rake db:migrate

Seed the db and setup the Stripe plans:

rake db:seed
rake stripe:setup

Set up your own credentials file (see /config/credentials.yml.example) or contact me for the master key:

rails credentials:edit

I use Foreman to run things locally:

foreman start

or

heroku local

Tests

Run the test suite with rake.

Contributing

Yes please! Keep it to branches and PRs and make sure the tests pass!

Some notes

This code exists to run dublininquirer.com and would need some amount of rejiggering to work for other publications. I'm not maintaining it as an open-source CMS, but you're most welcome to look through the code and use it for ... whatever. If you add a feature we might find useful, I welcome pull requests.

Contact

Email me at [email protected] and I'd be happy to answer any questions.

License

Apache 2.0

About

an independent, reader-supported newspaper serving dublin, ireland

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published