1.2 KiB
1.2 KiB
Linux/Mac installation instructions
Install dependencies
Dependency list
- Python >3.5
- PostgreSQL >9.5
- pip3
- virtualenv
- npm
Install with apt:
sudo apt install python3
sudo apt install python3-pip
sudo apt install postgresql
sudo pip3 install virtualenv
sudo apt install npm
More info about PostgreSQL at: https://www.postgresql.org/
These packages might be needed on certain platforms:
- python3-dev
- libffi-dev
- python3-cffi
- libssl-dev
Create a virtual environment for python
Create a virtualenv in the parent directory.
virtualenv -p python3 ../virtualenv.sikweb
Activate virtualenv
Assuming we are at the root of this repository and virtualenv is one level above.
. ../virtualenv.sikweb/bin/activate
Run install wizard
Run the install wizard with
bash setup.sh
and follow the instructions.
Done!
In case of error on macOS Mojave 10.14
If you get an error saying
The headers or library files could not be found for zlib,
a required dependency when compiling Pillow from source.
run
xcode-select --install
sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /