forked from varia/varia.website
57 lines
902 B
Markdown
57 lines
902 B
Markdown
# manymanymany-varia-websites
|
|
|
|
Many websites for the many.
|
|
|
|
> https://many.vvvvvvaria.org
|
|
|
|
## Build the site locally
|
|
|
|
### Get a local copy
|
|
|
|
```bash
|
|
$ git clone https://git.vvvvvvaria.org/varia/manymanymany-varia-websites
|
|
```
|
|
|
|
### Choose a version
|
|
|
|
```bash
|
|
$ cd manymanymany-varia-websites/3-column-plus
|
|
```
|
|
|
|
### System requirements
|
|
|
|
Install the system requirements (on Debian based systems):
|
|
|
|
```bash
|
|
$ sudo apt install -y python3 python3-dev python3-venv
|
|
```
|
|
|
|
### Python requirements
|
|
|
|
Then create a virtual environment and activate it:
|
|
|
|
```bash
|
|
$ python3 -m venv .venv
|
|
$ source .venv/bin/activate
|
|
```
|
|
|
|
Then install the requirements:
|
|
|
|
```bash
|
|
$ pip install -r requirements.txt
|
|
```
|
|
|
|
### Generating the site
|
|
|
|
Generate the content and run the server:
|
|
|
|
```bash
|
|
$ make devserver
|
|
```
|
|
|
|
Then the site is available at the following URL:
|
|
|
|
> http://localhost:8000
|
|
|
|
You can use `make help` for the other commands.
|