Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Morepath example of using React & Redux

Project Description

Morepath backend for React + Redux

A Morepath REST backend with a React + Redux based frontend.

Morepath backend

You can run the code using a clean Python environment (using virtualenv):

$ virtualenv env
$ source env/bin/activate

After this you can install dependencies using:

$ env/bin/pip install -e .

Once that is done you can start the server:

$ env/bin/run-app

You can go to http://localhost:5000 to see the UI

For installing the test suite and running the tests use:

$ env/bin/pip install -e '.[test]'
$ env/bin/py.test

JS bundle

For an introduction to the JavaScript toolchain used see:

https://github.com/faassen/bundle_example

JavaScript code is in js subdirectory. To rebuild the bundle you need to install the JS dependencies (listed in package.json). Run:

$ npm install

to install them. Then run:

$ webpack

To rebuild the bundle after changing it.

CHANGES

0.1 (2016-07-01)

  • Initial public release.
Release History

Release History

This version
History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
morepath_reactredux-0.1.tar.gz (330.9 kB) Copy SHA256 Checksum SHA256 Source Jul 1, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting