Changeset - d065c3f62780
[Not reviewed]
Daniel Takamori (pono) - 20 months ago 2022-08-04 22:53:15
pono@sfconservancy.org
add blank db and update instructions
2 files changed with 6 insertions and 4 deletions:
0 comments (0 inline, 0 general)
README.md
Show inline comments
...
 
@@ -21,7 +21,7 @@ Server Configuration
 
====================
 

	
 
conservancy's webserver runs on a machine called
 
dogwood.sfconservancy.org, which is a standard Debian installation.
 
aspen.sfconservancy.org, which is a standard Debian installation.
 

	
 
The following packages are installed to make Django and Apache work on a
 
squeeze install:
...
 
@@ -33,6 +33,8 @@ squeeze install:
 
Django Setup
 
============
 

	
 
0. Make sure the Python module 'djangopw', with the global variable
 
   'djangoadmin_password' is somewhere importable in the default
 
   PYTHON_PATH.
 
This has been tested with python 2.7.18 and 3.5.3
 

	
 
0. `python3 -m venv env && source env/bin/activate && pip install -r requirements.txt` # you might also need to install wheel and re-reun the requirements.txt install: `pip install wheel && pip install -r requirements.txt`
 
1. Uncomment lines 31-33 in www/conservancy/urls.py (this is needed for local images, css and js to work)
 
2. `./www/manage.py runserver 0.0.0.0:9999`
conservancy-website.sqlite3
Show inline comments
 
new file 100644
 
binary diff not shown
0 comments (0 inline, 0 general)