Django supports other database engines, but the public copies of the database are designed for these engines. Create the database in MariaDB/MySQL: CREATE DATABASE museum_of_zzt.Clone the repository git clone and copy the zookeeper directory into the project root or symlink it as appropriate. Install the Zookeeper ZZT Python library version 1.You must supply your own keys for these functions. By default, keys for external services such as posting to social media sites will be set to invalid values that allow the site to successfully start, but will cause those functions to fail. Database credentials will likely be required, while most other settings have fall-backs that will work fine in a development environment. Django also needs to know what settings to use by default which can be done by setting DJANGO_SETTINGS_MODULE="ttings". You will need PYTHONPATH to be set to the directory the repository was cloned into and the path to the sites-packages directory of your virtual environment. Configure any environment variables that need to be changed for your environment (see Environment Variables section).Download libraries from requirements.txt: pip install -r requirements.txt. Activate the virtual environment: source venv/bin/activate.In the repository's root directory, create a Python3 virtual environment: python3 -m venv venv.MariaDB/MySQL if you wish to use the repository's included database dump.The Museum of ZZT is a Django-powered website created as a public archive of ZZT worlds and ephemera.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |