update configuration and README for incorporeal-cms v2
This commit is contained in:
21
README.md
21
README.md
@@ -13,16 +13,17 @@ of the project, and submit changes that way.
|
||||
## Hosting
|
||||
|
||||
The companion software to this repository is my CMS, [incorporeal-cms](https://git.incorporeal.org/bss/incorporeal-cms).
|
||||
If you want to run your own version, to see the content how it'd be served, here is the short version of a local setup:
|
||||
If you want to run your own static site with this content, here is the short version of a local setup:
|
||||
|
||||
```
|
||||
% mkdir orb.moe
|
||||
% cd orb.moe
|
||||
% virtualenv --python=python3.10 env-py3.10
|
||||
% source env-py3.10/bin/activate
|
||||
% pip install -U -f https://bss.zone/tech/incorporeal-cms/ incorporeal-cms[dot]
|
||||
% mkdir env-py3.10/var
|
||||
% mkdir env-py3.10/var/incorporealcms-instance
|
||||
% [copy this repository's files into env-py3.10/var/incorporealcms-instance/]
|
||||
% FLASK_APP=incorporealcms FLASK_ENV=development flask run -h 0.0.0.0
|
||||
% cd path/to/ttrpg-site
|
||||
% ./git-touch-all.sh
|
||||
% python -m venv venv
|
||||
% source venv/bin/activate
|
||||
% pip install -U pip
|
||||
% pip install -U incorporeal-cms[dot]
|
||||
% pip install -U pymdown-extensions
|
||||
% incorporealcms-build . /path/to/output/dir
|
||||
```
|
||||
|
||||
You can serve this content with any HTTP file server, such as Nginx or even `http.server.HTTPServer`.
|
||||
|
||||
Reference in New Issue
Block a user