Save My News: A personal, permanent clipping service
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
archive
project
.gitignore
.travis.yml
LICENSE
Makefile
Procfile
README.md
manage.py
requirements.txt
setup.cfg
wsgi.py

README.md

Save My News

A personal, permanent clipping service at savemy.news

Build Status

Getting started

Requirements:

  • Python
  • PostgreSQL
  • virtualenv or virtualenvwrapper
  • Git

Create a virtualenv to store the codebase.

# If you prefer virtualenvwrapper, pyenv, conda, whatever, use that here instead of course
$ virtualenv savemy.news

Activate the virtualenv.

$ cd savemy.news
$ . bin/activate

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 repo

Enter the project and install its dependencies.

$ cd repo
$ pip install -r requirements.txt

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