Skip to content

CCranney/python_blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python_blockchain

This is my project based on the following Udemy course. https://www.udemy.com/course/python-js-react-blockchain/

Instructions (following the Udemy course)

Activate the virtual environment

source blockchain-env/bin/activate

Install all packages

cd /path/to/project/
pip install -e .

Run the tests

Make sure to activate the virtual environment.

python -m pytest backend/tests

Run the application and API

Make sure to activate the virtual environment.

python -m backend.app

Run a peer instance

Make sure to activate the virtual environment.

export PEER=True && python -m backend.app

Run the frontend

In the frontend directory:

npm run start

Seed the backend with data

Make sure to activate the virtual environment.

export SEED_DATA=True && python -m backend.app

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published