1.0.2 • Published 6 years ago
au-app-react-findwidget v1.0.2
AU App React: Findwidget
The search widget for people and buildings - based on Generator-React-Webpack - with Flux Support (using Redux)
Description
This app is used on various webpages, primarily in the "Utility links" section of the header in the 2016 design.
Prerequisite
- NodeJS/npm
- Yeoman
Dependencies
- The app depends on the iPure search interface at ipure.nfit.au.dk as well as the building/department data located at typo3.au.dk/maps/xmltojson.php.
Installation
- Run
npm install
in terminal
Usage
Please take a look at react-webpack-template for an in depth explanation or use npm run
to get a list of all commands available for building and running the application.
Basics are:
npm start
: Will start up the dev webservernpm test
: Run unit testsnpm run dist
: Create the packed version
Deployment
After running npm run dist
the packed files (the assets
folder) should be uploaded to www.aucdn.dk/apps/react/findwidget/.