This repository has been archived by the owner on Apr 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:Bitcoin-Brainbow/Brainbow
- Loading branch information
Showing
2 changed files
with
55 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# How to run the sources on your own machine | ||
|
||
## Create a Python3 virtual environment | ||
|
||
```shell | ||
python -m venv ~/brainbowenv/ | ||
``` | ||
|
||
## Activate the Python3 virtual environment | ||
|
||
```shell | ||
source ~/brainbowenv/bin/activate | ||
``` | ||
|
||
Note: you can deactivate the python environment at any time with the command `deactivate` | ||
read more about it [here](https://docs.python.org/3/library/venv.html) | ||
|
||
## Clone Brainbow repository and install requirements | ||
|
||
```shell | ||
git clone https://github.com/Bitcoin-Brainbow/Brainbow.git brainbow | ||
cd brainbow/ | ||
``` | ||
|
||
Add the following to the new_requirements.txt | ||
|
||
kivy-garden | ||
kivy | ||
kivy_garden.graph | ||
kivy_garden.qrcode | ||
embit | ||
numpy | ||
camera4kivy | ||
pyzbar | ||
|
||
```shell | ||
pip install -r new_requirements.txt | ||
``` | ||
|
||
Note: for MacOS install zbar with brew | ||
|
||
```shell | ||
brew install zbar | ||
``` | ||
|
||
## Start the app | ||
|
||
```shell | ||
python main.py | ||
``` | ||
|
||
## NOTES: | ||
- Tor must be installed and running. |