TodoMVC based on Morepath and Cerebral
Cerebral TodoMVC with a Morepath REST backend.
Morepath backend
The backend ist based on morepath_reactredux. You find the code of the backend in the server directory.
From inside the project directory create a clean Python environment with virtualenv and activate it:
$ virtualenv env $ source env/bin/activate
After this you can install the package including 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
TodoMVC JS bundle
We use the TodoMVC example from Cerebral, which is based on Baobab, React and Cerebral:
https://github.com/cerebral/cerebral-todomvc
JavaScript code is in the client 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.2 (2016-08-15)
Add support for Python 3.5 and make it the default test environment.
Apply standard js code style in client.
Upgrade to Cerebral 1.0 and update dependencies.
Refactor client to new Cerebral best practices.
0.1 (2016-05-04)
Initial public release.
Metadata
Release files for morepath-cerebral-todomvc 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| morepath_cerebral_todomvc-0.2.tar.gz | 508.7 kB | Without provenance | Details for morepath_cerebral_todomvc-0.2.tar.gz |
Release files / morepath_cerebral_todomvc-0.2.tar.gz
| Download URL | morepath_cerebral_todomvc-0.2.tar.gz |
|---|---|
| Size | 508.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e6ad9b5d1b36342d0a108ad4cab1217bec2b48bfe15e59a6ed3c022720c2a6d
|
|
BLAKE2b-256 checksum How to use checksums |
168384e58f63cdf2e3f31990f806f2fb55279915c864f0194cc94ad4bab4d1ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for morepath-cerebral-todomvc 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.