Creating Offline or Alternative Server Projects
AVAnnotate projects can be downloaded and used offline or on a private server as a free-standing site.
For projects that are private, start with the instructions for Creating a Private Repository. For projects containing offline AV that are still publicly available online, see AV Formats and Support.
Instructions
These instructions are for projects that are completely offline and for which the AV artifacts can be placed in a directory with the AVAnnotate project.
- For each AV file in each Event, insert the name of the AV file (e.g., “file.mp3”) instead of a URL.
- In Project Settings on the AVAnnotate Dashboard to toggle-off “Generate GitHub Pages Site” (project owner only).
- Navigate to the project GitHub respository. Use the green
Code
button toDownload ZIP
and save the .zip file. - Unzip the file on the local computer. A “site” directory contains the static pages. The “site” folder contains a set of instructions for how to deploy a static AVAnnotate site to any web server (i.e. Apache, NginX).
- To run the site locally on a computer, the simplest approach is to use the Python web server.
Using the Python Web Server
1. Install Python
- [On Windows](https://builtin.com/software-engineering-perspectives/how-to-install-python-on-windows)
- [On Mac](https://builtin.com/software-engineering-perspectives/how-to-install-python-on-windows)
2. Run http.server
1. Navigate to the local copy of the /site directory in the appropriate terminal for the OS. (On a Mac, shift+right-click on the /site directory and select 'New Terminal at Folder')
2. Enter the following command at the terminal prompt: `python3 -m http.server 8000`
3. To view the project, navigate a browser to ‘http://localhost:8000’