Moya is a Web Application server, written in Python.
You can install from PyPi with the following:
pip install moya
Or download the repos and run the following:
python setup.py install
Whichever method you use, this will add a moya
command line application.
In addition to the example projects
directory in the Moya repos, you can check out the following complete projects:
-
Social Links A social linking (Reddit like) application
-
Short URL A super simple URL shortener application
Navigate to the project directory you want to run, then do the following:
moya db sync
moya auth#cmd.init
This will initialize the database and users system. You only need to do this once.
To run a development server, do the following:
moya runserver
And navigate to http://127.0.0.1:8000
Find packages for Moya on the Moya Package Index.
Install packages moya-pm
which comes with Moya:
moya-pm install moya.sociallinks
See the Moya Homepage for more information. Or go straight to Moya's Documentation.