You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# manymanymany-varia-websites
|
|
|
|
|
|
|
|
Many websites for the many.
|
|
|
|
|
|
|
|
> https://many.vvvvvvaria.org
|
|
|
|
|
|
|
|
## Make your own
|
|
|
|
|
|
|
|
```bash
|
|
|
|
$ cp -R old myexperiment
|
|
|
|
```
|
|
|
|
|
|
|
|
Once you push your changes a Git hook should generate the new site for you.
|
|
|
|
|
|
|
|
## 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.
|