-
Notifications
You must be signed in to change notification settings - Fork 83
Installation
The following is for Debian/Ubuntu-based systems (16.04).
-
Install virtualevwrapper and create a project
-
Install system dependencies. On Debian-based systems:
sudo apt-get install libxml2-dev libxslt1-dev python3-dev zlib1g-dev lib32z1-dev libffi-dev libssl-dev libjpeg-dev libmysqlclient-dev -
From the project src directory run the following to install python dependencies:
pip install -r requirements.txt -
Copy the example settings file:
cp src/core/example_settings.py src/core/settings.py -
Update settings.py for your env (database login etc.) and setup your database. This must support utf8_mb4. For MySQL installs, use the following CREATE command:
CREATE DATABASE janeway CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci; -
From inside the src directory run the migrate command
python3 manage.py migrate. -
From inside the src directory, run the installer
python3 manage.py install_janewayand follow the on screen instructions.Please answer the following questions.
Press name: Test Press
Press domain: test.press.com
Press main contact (email): [email protected]
Thanks! We will now set up out first journal.
Journal #1 code: tstj
Journal #1 domain: journal.press.com
Press CTRL+C once you have added as many journals as you want.
- Once the command line installer is complete you can complete the setup process by directing your browser to: http://yourfirstjournal.com/install/
Wiki has moved to read the docs.