CypherSetup: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Category:CypherTech = Host Setup = <syntaxhighlight lang="bash"> mkdir -p /opt/cypherpunk/cypherpunk_reddit cd /opt/cypherpunk/cypherpunk_reddit ln -s /home/bob/projects/cypherpunk/cypherpunk_reddit/html ./ ln -s /home/bob/projects/cypherpunk/cypherpunk_reddit/archive ./ ln -s /home/bob/projects/cypherpunk/cypherpunk_reddit/config ./ </syntaxhighlight>") |
No edit summary |
||
Line 7: | Line 7: | ||
ln -s /home/bob/projects/cypherpunk/cypherpunk_reddit/archive ./ | ln -s /home/bob/projects/cypherpunk/cypherpunk_reddit/archive ./ | ||
ln -s /home/bob/projects/cypherpunk/cypherpunk_reddit/config ./ | ln -s /home/bob/projects/cypherpunk/cypherpunk_reddit/config ./ | ||
</syntaxhighlight> | |||
= Python Venv = | |||
<syntaxhighlight lang="bash"> | |||
python -m venv .venv | |||
./.venv/bin/activate | |||
pip install mysql-connector-python | |||
pip install jinja2 flask | |||
pip install secp256k1 | |||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 01:07, 26 November 2023
Host Setup
mkdir -p /opt/cypherpunk/cypherpunk_reddit
cd /opt/cypherpunk/cypherpunk_reddit
ln -s /home/bob/projects/cypherpunk/cypherpunk_reddit/html ./
ln -s /home/bob/projects/cypherpunk/cypherpunk_reddit/archive ./
ln -s /home/bob/projects/cypherpunk/cypherpunk_reddit/config ./
Python Venv
python -m venv .venv
./.venv/bin/activate
pip install mysql-connector-python
pip install jinja2 flask
pip install secp256k1