Yodotoube
You will need to install go-ipfs first.
You will need to install python3 and pip:
$> sudo apt update
$> sudo apt install python3 python3-venv
Clone the project:
$> git clone [email protected]:Yodolescrypto/yodotube.git
Start a new virtualenv then install pip dependencies:
$> cd yodotube/yodotube
$> virtualenv $PWD/venv
$(venv)> source $PWD/venv/bin/activate
$(venv)> pip3 install -r requirements.txt
Make the migrations and create your superuser (the first time only):
$(venv)> python3 manage.py migrate
$(venv)> python3 manage.py createsuperuser
Last step: Start IPFS node in daemon mode:
$> ipfs daemon&
You may use screen
:
$> screen -dmS ipfs ipfs daemon
$> screen -r ipfs #to get it back, then ctrl-a, d to detach it again
Then start your django project:
$> screen -dmS yodotube $PWD/venv/bin/python3 manage.py runserver
$> screen -r yodotube #to get it back, then ctrl-a, d to detach it again
Go on http://127.0.0.1:8000
You may find the admin panel here: http://127.0.0.1:8000/admin