Skip to content

EricSchles/fact_checker_website

Repository files navigation

Installation

The first thing you'll need to do is clone this repo, it's preferred that you fork it and then submit pull requests from your fork. This way we have clear providence of who did what, but also, it will be easier to roll back changes, should something be wrong, before committing to the canonical master repository.

You'll need Python 3 (Python 3.5 is preferred), pip3 (1.8.2 is preferred), and the heroku toolbelt and a heroku account to deploy this repository.

After you install Python simply run:

pip install -r requirements.txt (which is found in the top level directory of the main repo)

If you have python 2 installed, you might need to do:

pip3 install -r requirements.txt

Everything regarding deploying to heroku should be in

setup.md (in the base directory).

To migrate the database, please see:

manager.py (in the base directory).

Contribution

To contribute to this application, please fork from the canonical master and create pull requests.

To configure a remote for a fork:

To sync a fork

To make a pull request

  • git pull origin master
  • Go to main repository and create a pull request

Troubleshooting

Unable to create db

If you try creating a db:

  • createdb skills_admin

    and you get:

    createdb: could not connect to database template1: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
    

Try:

  • pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start

Unable to install pyscopg2

Try installing xcode-setup and re-run the Installation

Please see here: http://stackoverflow.com/questions/33866695/install-psycopg2-on-mac-osx-10-9-5-pg-config-pip

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published