Skip to content

Latest commit

 

History

History
39 lines (21 loc) · 796 Bytes

INSTALL.md

File metadata and controls

39 lines (21 loc) · 796 Bytes

Marker

Getting Started

Change directory into your newly created project if not already there. Your current directory should be the same as this INSTALL.md file and setup.py.

cd marker

Create and activate a Python (or conda) virtual environment, if not already created.

Install the project in editable mode with its testing requirements.

pip install -e ".[testing]"

Initialize and upgrade the database using Alembic.

alembic -c development.ini upgrade head

Load default data into the database using a script.

initialize_marker_db development.ini

Run your project's tests.

pytest

Run your project.

pserve development.ini

Log in

Log in as "admin" using default password: admin

Set up an admin account and create user accounts.