Skip to content
This repository has been archived by the owner on Jan 10, 2019. It is now read-only.
/ TWI-mc Public archive

[DEPRECATED] Transkribus Web Interfaces: My collections site (python project)

License

Notifications You must be signed in to change notification settings

Transkribus/TWI-mc

Repository files navigation

TWI-mc deprecated in favour fo https://github.com/Transkribus/web-app

TWI-mc

Transkribus Web Interfaces: My collections site (python project)

git clone https://github.com/Transkribus/TWI-mc
cd TWI-mc
virtualenv -p /usr/bin/python3 venv
source venv/bin/activate
pip install -r requirements.txt
git pull
git submodule update --init

Make a file called mc/settings/local.py and add

SECRET_KEY = '[somestuff]'

RECAPTCHA_PUBLIC_KEY = ''
RECAPTCHA_PRIVATE_KEY = ''

SERVERBASE = ''
STATIC_URL = SERVERBASE+'/static/'
ALLOWED_HOSTS = ['localhost', '127.0.0.1'] # or your local/dev server
    
# To display the version string and link to the appropriate milestone set the following:
VERSION = "My version String"
MILESTONE = "1" # or whatever milestone you are on/working to

With approprate values (The last two may need to override/reset the defaults that are mc/settings/production.py)

To set up and run (with the default django dev environment):

python manage.py makemigrations
python manage.py makemigrations utils
python manage.py migrate
# possibly add python manage.py migrate utils
python manage.py collectstatic
python manage.py runserver [port]

About

[DEPRECATED] Transkribus Web Interfaces: My collections site (python project)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published