added a bit of information for setting up on macOS (#283)
This commit is contained in:
parent
16a838a3cf
commit
9f824ae11a
14
README.md
14
README.md
|
@ -9,7 +9,7 @@ Clone with --recursive to include submodules:
|
||||||
|
|
||||||
git clone --recursive https://github.com/bornhack/bornhack-website
|
git clone --recursive https://github.com/bornhack/bornhack-website
|
||||||
|
|
||||||
If you already cloned the repository, you can add the submodules like this:
|
If you already cloned the repository without --recursive, you can change into the directory and add the submodules with:
|
||||||
|
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
|
|
||||||
|
@ -20,20 +20,31 @@ $ virtualenv venv -p python3
|
||||||
$ source venv/bin/activate
|
$ source venv/bin/activate
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If you installed python3 using Homebrew on macOS, you will need to install virtualenv by runinng the following command first:
|
||||||
|
```
|
||||||
|
pip3 install virtualenv
|
||||||
|
```
|
||||||
|
|
||||||
### System libraries
|
### System libraries
|
||||||
Install system dependencies (method depends on OS):
|
Install system dependencies (method depends on OS):
|
||||||
- postgresql headers (for psycopg2):
|
- postgresql headers (for psycopg2):
|
||||||
- Debian: libpq-dev
|
- Debian: libpq-dev
|
||||||
- FreeBSD: databases/postgresql93-client
|
- FreeBSD: databases/postgresql93-client
|
||||||
|
- macOS: If using the PostgreSQL.app, the headers are included, only path needs to be added
|
||||||
- libjpeg (for pdf generation)
|
- libjpeg (for pdf generation)
|
||||||
- Debian: libjpeg-dev
|
- Debian: libjpeg-dev
|
||||||
- FreeBSD: graphics/jpeg-turbo
|
- FreeBSD: graphics/jpeg-turbo
|
||||||
|
- macOS: brew install libjpeg
|
||||||
|
- libmagic (might already be installed)
|
||||||
|
- macOS: brew install libmagic
|
||||||
- wkhtmltopdf (also for pdf generation):
|
- wkhtmltopdf (also for pdf generation):
|
||||||
- Debian: wkhtmltopdf
|
- Debian: wkhtmltopdf
|
||||||
- FreeBSD: converters/wkhtmltopdf
|
- FreeBSD: converters/wkhtmltopdf
|
||||||
|
- macOS: install from https://wkhtmltopdf.org/
|
||||||
- fonts
|
- fonts
|
||||||
- Debian: ?
|
- Debian: ?
|
||||||
- FreeBSD: x11-fonts/webfonts
|
- FreeBSD: x11-fonts/webfonts
|
||||||
|
- macOS: ?
|
||||||
|
|
||||||
### Python packages
|
### Python packages
|
||||||
Install pip packages:
|
Install pip packages:
|
||||||
|
@ -117,6 +128,7 @@ You can also specify details like:
|
||||||
* Reynir Björnsson https://github.com/reynir
|
* Reynir Björnsson https://github.com/reynir
|
||||||
* Ronni Elken Lindsgaard https://github.com/rlindsgaard
|
* Ronni Elken Lindsgaard https://github.com/rlindsgaard
|
||||||
* Stephan Telling https://github.com/Telling
|
* Stephan Telling https://github.com/Telling
|
||||||
|
* Thomas Flummer https://github.com/flummer
|
||||||
* Thomas Steen Rasmusssen https://github.com/tykling
|
* Thomas Steen Rasmusssen https://github.com/tykling
|
||||||
* Víðir Valberg Guðmundsson https://github.com/valberg
|
* Víðir Valberg Guðmundsson https://github.com/valberg
|
||||||
* Ximin Luo https://github.com/infinity0
|
* Ximin Luo https://github.com/infinity0
|
||||||
|
|
Loading…
Reference in New Issue