Zitate Zitate Zitate
An app to save your quotes!
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
WARNING! Current Installations before version v1.1.0 should follow this migration guide Cause: Introduction of quote deletion. All old quotes need now a creator. To migrate the old quotes
- RUN the new image
michigg/quotes:1.1.0- SELECT a new default creator (user) for all old quotes. Therefore go to the admin Web interface
Home › Authentication and Authorization › Usersand note the user id from the default user.- RUN
docker-compose exec <quote-service> sh- RUN
python3 manage.py makemigrations, select enter default value and enter your selected user id.- RUN
python3 manage.py migrateand then your finished
- COPY the
docker-compose.prod.ymlanddocker.env - CHANGE the docker-compose file and env file to fit your server config
- Start the container
- RUN
python3 manage.py makemigrationsandpython3 manage.py migrate - RUN
python3 manage.py creatsuperuserto generate an initial Admin Account