Skip to main content

A pysmvt supporting application

Project description

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. make a staging area mkdir myproj-staging

  5. cd myproj-staging

  6. Create a new virtual environement virtualenv ENV –no-site-packages

  7. Activate the virtual environment (os dependent)

  8. 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. pysmvt project -t pysapp <myapp> replace <myapp> with your project name

  2. answer the questions that come up

  3. write down “Login Details”, referred to hereafter as <user> & <pass>

  4. cd <myapp>-dist

  5. python setup.py -q develop

  6. cd <myapp>

  7. pysmvt broadcast initdb setup the database tables

  8. pysmvt broadcast initapp setup the database tables

  9. pysmvt broadcast initmod <user> let modules set themselves up, use the settings profile for your user

  10. pysmvt serve <user> run a development http server with the user’s settings profile

  11. 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

We are currently in an alpha phase which means lots of stuff can change, maybe rapidly, and we are not interested in backwards compatibility at this point.

I am currently using this library for some production websites, but I wouldn’t recommend you do that unless you really know what you are doing.

The unstable development version.

Project details


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page