forked from varia/varia.website
Improve the README structure
This commit is contained in:
parent
be5ec73c8b
commit
ebccea5984
30
README.md
30
README.md
@ -7,6 +7,8 @@ Many websites for the many.
|
|||||||
## Make your own
|
## Make your own
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
$ git clone https://git.vvvvvvaria.org/varia/manymanymany-varia-websites
|
||||||
|
$ cd manymanymany-varia-websites
|
||||||
$ cp -R old myexperiment
|
$ cp -R old myexperiment
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -18,44 +20,26 @@ If you want to build the site locally, follow the steps below.
|
|||||||
|
|
||||||
## Build the site locally
|
## Build the site locally
|
||||||
|
|
||||||
### Get a local copy
|
Choose a site.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ git clone https://git.vvvvvvaria.org/varia/manymanymany-varia-websites
|
$ cd 3colplus
|
||||||
```
|
```
|
||||||
|
|
||||||
### Choose a version
|
Create a virtual environment and activate it.
|
||||||
|
|
||||||
```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
|
```bash
|
||||||
$ python3 -m venv .venv
|
$ python3 -m venv .venv
|
||||||
$ source .venv/bin/activate
|
$ source .venv/bin/activate
|
||||||
```
|
```
|
||||||
|
|
||||||
Then install the requirements:
|
Install the requirements.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ pip install -r requirements.txt
|
$ pip install -r requirements.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
### Generating the site
|
Generate the content and run the server.
|
||||||
|
|
||||||
Generate the content and run the server:
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ make devserver
|
$ make devserver
|
||||||
|
Loading…
Reference in New Issue
Block a user