Skip to content

sandstorm-io/python-app-to-package-for-sandstorm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains a sample Python app demonstrating some of the Sandstorm platform features. It was built as a testcase for vagrant-spk's support for a Python stack.

To build this Sandstorm package:

git clone git://github.com/sandstorm-io/vagrant-spk
git clone git://github.com/sandstorm-io/python-app-to-package-for-sandstorm
export PATH=$(pwd)/vagrant-spk:$PATH
cd python-app-to-package-for-sandstorm
vagrant-spk setupvm uwsgi
vagrant-spk vm up
vagrant-spk init
# edit .sandstorm/sandstorm-pkgdef.capnp in your editor of choice
vagrant-spk dev
# visit http://local.sandstorm.io:6090 in a web browser
# log in as Alice, the admin account
# launch an instance of the example app, play around with it
# then, press Ctrl-C to stop the tracing vagrant-spk dev
vagrant-spk pack example.spk
# You now have an .spk file.  Yay!

About

An example Python application that can be packaged with vagrant-spk

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published