#1363 doc: fix er-diagram generator
Merged 4 years ago by praiskup. Opened 4 years ago by praiskup.
Unknown source doc-typo-fixes  into  master

file modified
+1 -1
@@ -46,7 +46,7 @@

  	-rm -rf $(BUILDDIR)/*

  

  $(ERDFILE): ../frontend/coprs_frontend/coprs/models.py

- 	export PYTHONPATH=`pwd`/../frontend/coprs_frontend/; \

+ 	export PYTHONPATH=`pwd`/../frontend/coprs_frontend/:`pwd`/../common ; \

  	export COPR_CONFIG=`pwd`/../frontend/coprs_frontend/config/copr_unit_test.conf; \

  	python3 -c "from eralchemy import render_er; from coprs import db; \

  		render_er(db.metadata, '$@')"

@@ -1,4 +1,4 @@

- .. _database-erd:

+ .. _builder_actions:

  

  Backend build process

  =====================

Put common subdir into PYTHONPATH to fix er diagram build, for the
situations when python3-copr-common isn't installed, or is too old.

Don't reference the er diagram from inappropriate place.

Pull-Request has been merged by praiskup

4 years ago