clashicly / nakamotoinstitute.org

A website for preserving and continuing the crypto-anarchist tradition

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Satoshi Nakamoto Institute

NakamotoInstitute.org was written in Flask.

Guide to Installing SNI Locally

  1. Install python3 and virtualenv

  2. Copy config.py.env to config.py

  3. Update the domain assigned to SERVER_NAME in config.py if you would like to change "sni"

  4. If you are running the app locally, change FLASK_DEBUG in config.py to True in order to enable reloading of the server on code changes.

  5. Update your /etc/hosts file (replace sni with the value from step 3 if you changed it):

127.0.0.1     localhost
127.0.0.1     sni
127.0.0.1     satoshi.sni
  1. Download the PDFs and txts here and place them in sni/static/docs

  2. Set up a virtualenv with virtualenv -p python3 --no-site-packages venv and . venv/bin/activate

  3. Install the dependencies using pip install -r requirements.txt.

  4. Run mkdir tmp

  5. Run ./dataimport.py update. The db will be cleared and re-populated each time you do this. You can use the flags --content, and --skeptic to repopulate only models associated with the blog, the docs, and research docs, or skeptics, respectively.

  6. Run ./run.py runserver and navigate to sni:5000 in your browser.

How You Can Help

  • Format the HTML literature templates
  • Adjust the CSS and HTML to improve readability and navigation
  • Write tests for the Python code

NakamotoInstitute.org is under the GNU Affero License.

About

A website for preserving and continuing the crypto-anarchist tradition

License:GNU Affero General Public License v3.0


Languages

Language:HTML 96.6%Language:Python 2.9%Language:JavaScript 0.3%Language:CSS 0.2%Language:C 0.1%