From 1a3feef2c0e9b624630c161a9cea7633e6d2e456 Mon Sep 17 00:00:00 2001 From: Cristi Miloiu Date: Mon, 15 Jul 2024 10:47:00 +0300 Subject: [PATCH] Deploy on Genezio --- README.md | 7 +++++++ genezio.yaml | 16 ++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 genezio.yaml diff --git a/README.md b/README.md index 4fcce04..cea506c 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,7 @@ Let us know your thoughts below. And good luck with development! - [Versions](#versions) - [Demo](#demo) - [Quick Start](#quick-start) +- [Deploy](#deploy) - [Documentation](#documentation) - [File Structure](#file-structure) - [Browser Support](#browser-support) @@ -82,6 +83,12 @@ Quick start options: - Buy from [Creative Tim](https://www.creative-tim.com/product/vue-material-kit?ref=readme-vmk). +## 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/vue-material-kit&utm_source=github&utm_medium=referral&utm_campaign=github-creativetim&utm_term=deploy-project&utm_content=button-head) + ## Terminal Commands 1. Download and Install NodeJs LTS version from [NodeJs Official Page](https://nodejs.org/en/download/). diff --git a/genezio.yaml b/genezio.yaml new file mode 100644 index 0000000..4f4f282 --- /dev/null +++ b/genezio.yaml @@ -0,0 +1,16 @@ +name: vue-material-kit +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: dist + # 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