Example project for the Bigpipe Response
- Install dependencies
pip3 install -r requirements.txt
- Start django by running
PYTHONPATH=. python3 bigpipe_response_example/manage.py
- Open browser on address
http://localhost:8080
-
bigpipe_response_example
Folder containing django project -
bigpipe_response_example.bigpipe_response_example.views
Example view file containing the examples -
client
All client assets. javascript, react, scss -
data
Data dao object to render into components -
public
Static content directory. Bigpipe Response will render assets into this folder -
config
This example is using Hydra to configure bigpipe, demo data as well django server port.
Open the file bigpipe_response_example/bigpipe_response_example/views/view_demo.py
Building with docker
docker build -t bigpipe_respose_example .
docker run -p 8080:8080 bigpipe_respose_example