skip to navigation
skip to content

Not Logged In

pysapp 0.2

A pysmvt supporting application

Introduction

pysapp is a library designed as a "supporting application" for pysmvt applications.

Example applications will be avilable soon, for now, please follow the steps below to get your own default application up and running.

Steps for Installation

  1. Install Python
  2. install setuptools (includes easy_install)
  3. install virtualenv easy_install virtualenv
  4. Create a new virtual environement virtualenv myproj-staging --no-site-packages
  5. Activate the virtual environment (os dependent)
  6. install pysapp & dependencies easy_install pysapp

Steps for creating a working application

Note: the pysmvt command is installed when you install pysapp, which has pysmvt as a requirement.

  1. cd myproj-staging
  2. mkdir src
  3. cd src
  4. pysmvt project -t pysapp <myapp> replace <myapp> with your project name
  5. answer the questions that come up
  6. write down "Login Details", referred to hereafter as <user> & <pass>
  7. cd <myapp>-dist
  8. python setup.py -q develop
  9. cd <myapp>
  10. pysmvt broadcast initdb setup the database tables
  11. pysmvt broadcast initdata <user> put basic data in the database, use the settings profile for your user
  12. pysmvt serve <user> run a development http server with the user's settings profile
  13. point your browser at http://localhost:5000/

Creating a New Application Module

This step creates a Application Module directory structure in <myapp>/modules/<mymod>:

pysmvt module <mymod>

where <mymod> is the name of the module you want to create

Questions & Comments

Please visit: http://groups.google.com/group/pyslibs

Current Status

The code stays pretty stable, but the API is likely to change in the future.

The pysapp tip is installable via easy_install with easy_install pysapp==dev

 
File Type Py Version Uploaded on Size
pysapp-0.2.tar.gz (md5) Source 2010-05-30 95KB
  • Downloads (All Versions):
  • 14 downloads in the last day
  • 150 downloads in the last week
  • 551 downloads in the last month