Skip to content

Commit fc8d0aa

Browse files
committed
Deploy on Genezio
1 parent 3ac53bc commit fc8d0aa

File tree

3 files changed

+27
-2
lines changed

3 files changed

+27
-2
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ Let us know your thoughts below. And good luck with development!
4545
- [Versions](#versions)
4646
- [Demo](#demo)
4747
- [Quick Start](#quick-start)
48+
- [Deploy](#deploy)
4849
- [Documentation](#documentation)
4950
- [File Structure](#file-structure)
5051
- [Browser Support](#browser-support)
@@ -82,6 +83,13 @@ Quick start options:
8283
1. Download and Install NodeJs LTS version from [NodeJs Official Page](https://nodejs.org/en/download/).
8384
2. Navigate to the root ./ directory of the product and run `npm install` to install our local dependencies.
8485

86+
87+
## Deploy
88+
89+
:rocket: You can deploy your own version of the template to Genezio with one click:
90+
91+
[![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-soft-ui-dashboard&utm_source=github&utm_medium=referral&utm_campaign=github-creativetim&utm_term=deploy-project&utm_content=button-head)
92+
8593
## Documentation
8694

8795
The documentation for the Soft UI Dashboard is hosted at our [website](https://www.creative-tim.com/learning-lab/vue/overview/soft-ui-dashboard/?ref=readme-vsud).

genezio.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: vue-soft-ui-dashboard
2+
region: us-east-1
3+
frontend:
4+
# Specifies the path of your code.
5+
path: .
6+
# Specifies the folder where the build is located.
7+
# This is the folder that will be deployed.
8+
publish: dist
9+
# Scripts will run in the specified `path` folder.
10+
scripts:
11+
# The command to build your frontend project. This is custom to your project.
12+
# It must to populate the specified `publish` folder with a `index.html` file.
13+
deploy:
14+
- npm install --legacy-peer-deps
15+
- npm run build
16+
yamlVersion: 2

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
"scripts": {
1717
"serve": "vue-cli-service serve",
18-
"build": "vue-cli-service build",
18+
"build": "cross-env CI=false cross-env PUBLIC_URL=/ vue-cli-service build",
1919
"lint": "vue-cli-service lint"
2020
},
2121
"dependencies": {
@@ -46,6 +46,7 @@
4646
"eslint-plugin-vue": "7.0.0",
4747
"prettier": "2.2.1",
4848
"sass": "1.43.3",
49-
"sass-loader": "10.1.1"
49+
"sass-loader": "10.1.1",
50+
"cross-env": "^7.0.3"
5051
}
5152
}

0 commit comments

Comments
 (0)