diff --git a/README.md b/README.md index fd1610c0..5d8d020a 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ Paper Dashboard React is built using the same design language as [Paper Dashboar - [Versions](#versions) - [Demo](#demo) - [Quick Start](#quick-start) +- [Deploy](#deploy) - [Documentation](#documentation) - [File Structure](#file-structure) - [Browser Support](#browser-support) @@ -54,6 +55,12 @@ Quick start options: - [Download from Github](https://github.com/creativetimofficial/paper-dashboard-react/archive/main.zip). - [Download from Creative Tim](https://www.creative-tim.com/product/paper-dashboard-react). +## Deploy + +:rocket: You can deploy your own version of the template to Genezio with one click: + +[![Deploy to Genezio](https://raw.githubusercontent.com/Genez-io/graphics/main/svg/deploy-button.svg)](https://app.genez.io/start/deploy?repository=https://github.com/creativetimofficial/paper-dashboard-react&utm_source=github&utm_medium=referral&utm_campaign=github-creativetim&utm_term=deploy-project&utm_content=button-head) + ## Documentation The documentation for the Paper Dashboard React is hosted at our [website](https://demos.creative-tim.com/paper-dashboard-react/#/documentation/tutorial). diff --git a/genezio.yaml b/genezio.yaml new file mode 100644 index 00000000..3e4131bf --- /dev/null +++ b/genezio.yaml @@ -0,0 +1,16 @@ +name: paper-dashboard-react +region: us-east-1 +frontend: + # Specifies the path of your code. + path: . + # Specifies the folder where the build is located. + # This is the folder that will be deployed. + publish: build + # Scripts will run in the specified `path` folder. + scripts: + # The command to build your frontend project. This is custom to your project. + # It must to populate the specified `publish` folder with a `index.html` file. + deploy: + - npm install --legacy-peer-deps + - npm run build +yamlVersion: 2 \ No newline at end of file diff --git a/package.json b/package.json index 046d5be4..75a432b4 100644 --- a/package.json +++ b/package.json @@ -3,12 +3,13 @@ "version": "1.3.2", "private": true, "dependencies": { + "ajv": "^8.17.1", "bootstrap": "4.6.2", "chart.js": "3.9.1", "perfect-scrollbar": "1.5.5", - "react": "18.2.0", + "react": ">=16.8.0", "react-chartjs-2": "3.3.0", - "react-dom": "18.2.0", + "react-dom": ">=16.8.0", "react-notification-alert": "0.0.13", "react-router-dom": "6.11.1", "react-scripts": "5.0.1",