Skip to content

Commit

Permalink
Merge pull request #7 from cristim67/main
Browse files Browse the repository at this point in the history
Deploy on Genezio
  • Loading branch information
marqbeniamin authored Jul 24, 2024
2 parents 814946a + b61e8dd commit 0966ea2
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,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)
Expand Down Expand Up @@ -83,6 +84,12 @@ Quick start options:
1. Download and Install NodeJs LTS version from [NodeJs Official Page](https://nodejs.org/en/download/).
2. Navigate to the root ./ directory of the product and run `npm install` to install our local dependencies.

## 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/vite-soft-ui-dashboard&utm_source=github&utm_medium=referral&utm_campaign=github-creativetim&utm_term=deploy-project&utm_content=button-head)

## Documentation

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-vitesud).
Expand Down
16 changes: 16 additions & 0 deletions genezio.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: vite-soft-ui-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
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "Creative Tim (https://www.creative-tim.com/)",
"scripts": {
"dev": "vite",
"build": "vite build",
"build": "cross-env CI=false vite build",
"preview": "vite preview --port 8080",
"lint": "eslint --ext .js,.vue --ignore-path .gitignore --fix src",
"format": "prettier . --write"
Expand All @@ -26,6 +26,7 @@
"eslint-plugin-vue": "^8.5.0",
"prettier": "2.6.0",
"sass": "^1.49.9",
"vite": "^2.8.0"
"vite": "^2.8.0",
"cross-env": "^7.0.3"
}
}

0 comments on commit 0966ea2

Please sign in to comment.