This is a React app prototype that demos the use of Mirador Viewer. Made with Create React App and React Router v6.
$ git clone [email protected]:dismorfo/crispy-couscous.git
$ cd crispy-couscous && npm install
When running this app, be sure to:
- Add environment information file
cp .env.example .env
- Add your environment information. E.g.,
REACT_APP_BOOK_URL=http://abc.xyz
REACT_APP_API_VIEWER=http://def.xyz
# Set GENERATE_SOURCEMAP to true or false
GENERATE_SOURCEMAP=true
See create-react-app configuration.
- To start the development server:
npm start