The React project was generated with create-react-app lampenhaus
and later ejected using npm run eject
To start the React project in 'development mode' do
cd client/lampenhaus
npm i
npm start
To build the React project and serve the app with flask
cd client/lampenhaus
npm run build
# You can then serve the minified, 'pure' HTML/JS/CSS files with this:
cd frontend
# make sure to have flask installed: pip install flask
export LEUCHTTURMMODE="DEVELOP" # to access localhost, "PRODUCTION" to access Solr instance on cluster workstation (see config.ini for IP)
export FLASK_APP=autoapp.py
export FLASK_DEBUG=1 # enables verbose logging and other debugging help
flask run # includes hot reloading
# go to localhost:5000/app
run pytest