Archived: GitHub - palewire/savemy.news: Save My News: A personal, permanent clipping service

This is a simplified archive of the page at https://github.com/palewire/savemy.news

Use this page embed on your own site:

Save My News: A personal, permanent clipping service - GitHub - palewire/savemy.news: Save My News: A personal, permanent clipping service

ReadArchived

Save My News

A personal, permanent clipping service at savemy.news

Tests

Getting started

Requirements:

  • Python
  • PostgreSQL
  • virtualenv or virtualenvwrapper
  • Git

Create a virtualenv to store the codebase.

Clone the git repository from GitHub.

# If you've made a fork, substitute in your URL
git clone git@github.com:pastpages/savemy.news.git

Move into the repository

Install the dependencies.

Create a copy of a local settings file for your development environment.

$ cp project/settings_dev.py.tmpl project/settings_dev.py

Visit apps.twitter.com and create a new application.

Set the callback URL setting as http://localhost:8000/oauth/complete/twitter/.

twitter

Go to the "Keys and Access Tokens" tab.

Copy the two secret keys and add them to your settings_dev.py file.

SOCIAL_AUTH_TWITTER_KEY = '<Consumer Key (API Key) goes here>'
SOCIAL_AUTH_TWITTER_SECRET = '<Consumer Secret (API Secret) goes here>'

Create a local database.

$ python manage.py migrate

Run the test server for the first time.

$ python manage.py runserver