Skip to content

michigg/quotes

Repository files navigation

Die Zitate App

Zitate Zitate Zitate

Drone (self-hosted) Contributors Forks Stargazers Issues MIT License


Logo

Quotes

An app to save your quotes!
Explore the docs »

View Demo · Report Bug · Request Feature

Getting Started

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.

Installation

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

  1. RUN the new image michigg/quotes:1.1.0
  2. SELECT a new default creator (user) for all old quotes. Therefore go to the admin Web interface Home › Authentication and Authorization › Users and note the user id from the default user.
  3. RUN docker-compose exec <quote-service> sh
  4. RUN python3 manage.py makemigrations, select enter default value and enter your selected user id.
  5. RUN python3 manage.py migrate and then your finished
  1. COPY the docker-compose.prod.yml and docker.env
  2. CHANGE the docker-compose file and env file to fit your server config
  3. Start the container
  4. RUN python3 manage.py makemigrations and python3 manage.py migrate
  5. RUN python3 manage.py creatsuperuser to generate an initial Admin Account