A data publishing app for GIFT. View the live site here
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
To build the comoponents into libraries that can be imported into gift-portal
, run the following
$ yarn build:lib
This commands builds the components without including the css import.
NOTE: Dont ignore the dist/
folder while pushing new update to github and always ensure that before pushing new update to github run yarn build:lib
Base on the fact that datapub
contains css and always an issue when gift-publisher
is imported in gift-portal
, a datapub with no css is created. Due to this a separate branch called Package
is created.
Hence new update should be added to branch Package
and the following step should be taken;
- run
yarn build:lib
- push new update to branch
Package
- include new update in
gift-portal
package.json as"gitfpub": "git+https://github.com/datopian/gift-publisher.git#package#add-commit-hash"