2020-03-11 14:56:35 +01:00
|
|
|
# manymanymany-varia-websites
|
2017-09-13 12:19:56 +02:00
|
|
|
|
2020-03-11 15:56:36 +01:00
|
|
|
Many websites for the many.
|
|
|
|
|
2020-03-11 15:29:30 +01:00
|
|
|
> https://many.vvvvvvaria.org
|
|
|
|
|
|
|
|
## Build the site locally
|
|
|
|
|
|
|
|
### Get a local copy
|
2020-03-11 15:10:16 +01:00
|
|
|
|
|
|
|
```bash
|
|
|
|
$ git clone https://git.vvvvvvaria.org/varia/manymanymany-varia-websites
|
|
|
|
```
|
2020-03-11 15:29:30 +01:00
|
|
|
|
|
|
|
### 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.
|