GithubHelp home page GithubHelp logo

techtonik / pydotorg.pypi Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3.68 MB

Automatically exported from code.google.com/p/pydotorg.pypi

License: Other

Python 86.26% Makefile 0.05% PLpgSQL 2.34% CSS 11.32% C 0.04%

pydotorg.pypi's Introduction

Required packages
-----------------

To run the PyPI software, you need Python 2.5+,
PostgreSQL, and all these packages located at PyPI:

- zope.interface
- zope.pagetemplate
- zope.tal
- zope.tales
- zope.i18nmessageid
- psycopg2 (for testing, sqlite3 might be sufficient)
- docutils
- M2Crypto
- distutils2
- python-openid
- raven

Quick development setup
-----------------------

Make sure you read http://wiki.python.org/moin/CheeseShopDev#DevelopmentEnvironmentHints
and you have a working PostgreSQL DB.

Make sure your config.ini is up-to-date, initially copying from
config.ini.template. Change CONFIG_FILE at the begining of pypi.wsgi,
so it looks like this::

    CONFIG_FILE = 'config.ini'

Then, you can create a development environment like this, if you have
virtualenv installed::

    $ virtualenv --no-site-packages --distribute .
    $ bin/easy_install zope.interface zope.pagetemplate
    $ bin/easy_install zope.tal zope.tales zope.i18nmessageid psycopg2
    $ bin/easy_install docutils M2Crypto python-openid raven

Then you can launch the server using the pypi.wsgi script::

    $ bin/python pypi.wsgi
    Serving on port 8000...

PyPI will be available in your browser at http://localhost:8000

Database Setup
--------------

To fill a database, run pkgbase_schema.sql on an empty Postgres database.
Then run tools/demodata to populate the database with dummy data.

For testing purposes, run tools/mksqlite to create packages.db. Set
[database]driver to sqlite3, and [database]name to packages.db, then
run tools/demodata to populate the database.

pydotorg.pypi's People

Contributors

loewis avatar techtonik avatar

Watchers

Google Code Exporter avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.