Deploy on Genezio

This commit is contained in:
Cristi Miloiu 2024-07-15 10:47:00 +03:00
parent 89e9116917
commit 1a3feef2c0
2 changed files with 23 additions and 0 deletions

View File

@ -50,6 +50,7 @@ Let us know your thoughts below. And good luck with development!
- [Versions](#versions) - [Versions](#versions)
- [Demo](#demo) - [Demo](#demo)
- [Quick Start](#quick-start) - [Quick Start](#quick-start)
- [Deploy](#deploy)
- [Documentation](#documentation) - [Documentation](#documentation)
- [File Structure](#file-structure) - [File Structure](#file-structure)
- [Browser Support](#browser-support) - [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). - 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 ## Terminal Commands
1. Download and Install NodeJs LTS version from [NodeJs Official Page](https://nodejs.org/en/download/). 1. Download and Install NodeJs LTS version from [NodeJs Official Page](https://nodejs.org/en/download/).

16
genezio.yaml Normal file
View File

@ -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