Official website: https://paymentscouncil.in/project-pratima
Github staging deployment: http://vivek-nexus.github.io/project-pratima/
node
yarn
zip
- Clone the repository
- Run
yarn
to install all packages - Run
yarn dev
to view on the site onlocalhost:3000
Make sure to do all the steps below, in the same order.
- In
next.config.js
, configureLINK_PREFIX
,basePath
andassetPrefix
. Change to blank value if the webpage is served directly from root of the domain. - In
_document.js
, update the meta tags that specifyproperty="og:url"
andproperty="og:image"
, with the absolute URL of the domain where the website will be deployed. - Mandatorily, run
yarn zip
to generate the zip file for all icons, which is needed for "Download all" button of icon library. - Run
yarn build && yarn export
to generate static HTML. - Static HTML is dumped to
out
directory of the project. Grab the files and host it on any server. - Optionally, automate these steps with a deployment script of your choice. See a sample deployment script for Github actions here.