Deploy on Genezio

This commit is contained in:
Cristi Miloiu 2024-07-12 12:25:07 +03:00
parent 5558617e86
commit 0df1c4e43d
3 changed files with 26 additions and 2 deletions

View File

@ -17,6 +17,7 @@ We are very excited to share this dashboard with you and we look forward to hear
- [Demo](#demo)
- [Quick Start](#quick-start)
- [Deploy](#deploy)
- [Documentation](#documentation)
- [File Structure](#file-structure)
- [Browser Support](#browser-support)
@ -42,6 +43,12 @@ We are very excited to share this dashboard with you and we look forward to hear
- [Download from Github](https://github.com/creativetimofficial/vue-black-dashboard/archive/master.zip).
- [Download from Creative Tim](https://www.creative-tim.com/product/vue-black-dashboard).
## 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-black-dashboard&utm_source=github&utm_medium=referral&utm_campaign=github-creativetim&utm_term=deploy-project&utm_content=button-head)
## Documentation
The documentation for the Vue Black Dashboard is hosted at our [website](https://demos.creative-tim.com/vue-black-dashboard/documentation).

16
genezio.yaml Normal file
View File

@ -0,0 +1,16 @@
name: vue-black-dashboard
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

View File

@ -6,7 +6,7 @@
"author": "cristian.jora <joracristi@gmail.com>",
"scripts": {
"serve": "vue-cli-service serve --open",
"build": "vue-cli-service build",
"build": "cross-env CI=false vue-cli-service build",
"e2e": "node test/e2e/runner.js",
"lint": "vue-cli-service lint",
"dev": "vue-cli-service serve --open",
@ -25,12 +25,13 @@
"vue2-transitions": "0.3.0"
},
"devDependencies": {
"@babel/eslint-parser": "7.21.8",
"@vue/cli-plugin-babel": "5.0.8",
"@vue/cli-plugin-eslint": "5.0.8",
"@vue/cli-plugin-pwa": "5.0.8",
"@vue/cli-service": "5.0.8",
"@vue/eslint-config-prettier": "7.1.0",
"@babel/eslint-parser": "7.21.8",
"cross-env": "^7.0.3",
"eslint": "8.41.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-vue": "9.14.1",