Development deployment

  1. Clone the repository:

    git clone https://gitlab.com/mayan-edms/mayan-edms.git mayan-edms-4.1
    

    Alternatively, you can also fork the original repository and clone from your fork to allow pushing persistent code changes.

  2. Create a folder for the Python virtualenv:

    mkdir ~/.virtualenvs
    
  3. Install Python’s venv package:

    apt install python3-venv
    
  4. Create a virtualenv for Mayan EDMS:

    python3 -m venv ~/.virtualenvs/mayan-edms-4.1
    
  5. Activate the virtualenv:

    source ~/.virtualenvs/mayan-edms-4.1/bin/activate
    
  6. Install the development dependencies:

    make setup-dev-environment
    
  7. Initialize the installation:

    ./manage.py initialsetup
    
  8. Launch the development server

    make runserver
    
  9. Browse to http://localhost:8000