A demo app for Morepath with static resources
Project description
Morepath_static
Introduction
This is a demo app for Morepath that illustrates how to serve static resources. It uses the More.static extension to integrate BowerStatic.
Getting started
To get started with this demo right away, you can install it and run it in a newly created virtual environment:
$ virtualenv env $ ./env/bin/pip install morepath_static $ ./env/bin/morepath_static
You can now access the app at http://localhost:5000.
Installation from sources
You can grab the sources from GitHub and set them up in a fresh virtual environment:
$ git clone https://github.com/morepath/morepath_static.git $ cd morepath_static $ virtualenv env $ ./env/bin/pip install -e '.[test]'
You’ll then be able to start the app:
$ ./env/bin/morepath_static
And to run the test suite:
$ ./env/bin/py.test -v
CHANGES
0.1 (2016-07-06)
Initial public release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
morepath_static-0.1.tar.gz
(159.0 kB
view details)
File details
Details for the file morepath_static-0.1.tar.gz
.
File metadata
- Download URL: morepath_static-0.1.tar.gz
- Upload date:
- Size: 159.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f07a4b7ee85ce856ac46da32fae7831916f6c9ab1cc4ff3691f81acdc6943cbb |
|
MD5 | b6e9d56f16d9d01146da9961e1b61636 |
|
BLAKE2b-256 | 8a7dcf275ec0a21119d22e36056ef38814392b9c6c5294470e4fdf834e2f6abc |