Dashboard for Packit Service.
# install dependencies
:~/dashboard $ make install-dependencies
# this will start the flask development server
:~/dashboard $ make run-dev-flask
# in another terminal
:~/dashboard $ make run-dev-frontend
# use the frontend port (i.e 3000 by default) for development
# it will proxy non react requests to flask during dev
# read the Makefile for details
(you make have to use modify the make command if you want to run flask in a virtulenv instead of using python3-flask
from the fedora repos.)
# to create a production build of react and/or any other javascript libs
:~/dashboard $ make transpile-prod
# now forget everything about npm, deploy flask the usual way
If you'd like to know more about packit, please check:
- Our website: packit.dev
- Packit Service
- Packit