Skip to content
Viktor Smári edited this page Feb 1, 2016 · 17 revisions

Installation

You can run it locally, on a virtual machine or using Docker.

Local setup

  1. Install Python. You will need pip installed which is included by default in Python versions 2.7.9

  2. Clone the Wasa2il Git project: git clone https://github.com/piratar/wasa2il

  3. In a command line, run the script initial_setup.py, which should guide you through the rest of the process.

Docker setup

  1. Install docker and docker-compose

  2. Create a local_settings.py from our template local_settings.py-mysql-docker

cp wasa2il/local_settings.py-mysql-docker wasa2il/local_settings.py

  1. Build it by issuing: docker-compose up

  2. Then migrate the database: (you might need to run it twice)

    docker-compose run wasaweb python manage.py migrate

  3. You also might need to create a superuser

docker-compose run wasaweb python manage.py createsuperuser

Clone this wiki locally