-
Notifications
You must be signed in to change notification settings - Fork 15
Telling Archetype to Load Changes
In most cases, for instance when changing details in the Mezzanine interface, Archetype will automatically pick up any changes. However, if you are changing files such as local_settings.py, you will normally need to restart the server. After changing local_settings.py, for example, you can restart the docker instance so it picks up your changes the next time you run it.
However, editing Python files like local_settings.py is time-consuming and risky as it can easily break the startup sequence of your instance. If you are confident with the terminal it is advised that you try the following process instead:
- In kitematic, click the "Exec" button to start the terminal within your Archetype container
- Test the validity of your changes with the following line:
python manage.py check
- If there are no errors, you should just see something like
System check identified no issues (0 silenced).
, then go to step 3. - If there is an error, it will be generated by python and will give you hints on how to correct it, just edit your local_settings.py and returns to step 2 until it works
- If you don't manage to fix the error, then undo your change (or restore local_settings.py from a copy) and go to step 3
- to quickly reload your changes without restarting the whole Docker instance (which can be very slow), just type the following command and wait for approximately 10 seconds before testing your changes on the site:
pkill uwsgi
Archetype is maintained by the King's Digital Lab at King's College London. It has received funding from the European Union Seventh Framework Programme (FP7) under Grant Agreement no. 263751 (DigiPal), the Arts and Humanities Research Council (AHRC) under Grant Reference n° AH/L008041/1 (Models of Authority) and AH/L013975/1 (Exon Domesday), and the Faculty of Arts and Humanities at King's College London.
Credits
Getting Started
Using Archetype
The Data Model
Editorial interface
- The Admin Interface
- Adding Items (Manuscripts)
- Adding Images
- Adding Hands and Scribes
- Adding Symbols (Letters)
- Content Permissions
- The Annotation Process
- Linking image regions with text regions
- Rebuilding the Indices
Customising the framework
Archetype for developers
- Installing Archetype on a Web Server
- Bulk Image Upload
- The Javascript API Library
- The Web API Syntax
- Upgrading Archetype
- Contributing to the code (third party development)
- Restoring an Archetype backup
Troubleshooting