Skip to content

Commit c55c601

Browse files
authored
Merge pull request #59 from cristim67/main
Deploy on Genezio
2 parents 67f79c9 + ed23148 commit c55c601

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

Diff for: README.md

+7
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ Let us know your thoughts below. And good luck with development!
5454
- [Versions](#versions)
5555
- [Demo](#demo)
5656
- [Quick start](#quick-start)
57+
- [Deploy](#deploy)
5758
- [Terminal Commands](#terminal-commands)
5859
- [Documentation](#documentation)
5960
- [What's included](#whats-included)
@@ -92,6 +93,12 @@ Quick start options:
9293
1. Download and Install NodeJs from [NodeJs Official Page](https://nodejs.org/en/download/).
9394
2. Navigate to the root / directory and run npm install to install our local dependencies.
9495

96+
## Deploy
97+
98+
:rocket: You can deploy your own version of the template to Genezio with one click:
99+
100+
[![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/soft-ui-dashboard&utm_source=github&utm_medium=referral&utm_campaign=github-creativetim&utm_term=deploy-project&utm_content=button-head)
101+
95102
## Documentation
96103
The documentation for the Soft UI Dashboard is hosted at our [website](https://www.creative-tim.com/learning-lab/bootstrap/overview/soft-ui-dashboard?ref=readme-sud).
97104

Diff for: genezio.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: 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: .
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+
yamlVersion: 2

Diff for: index.html

+4
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,8 @@ <h6>If you are not redirected automatically, follow <a href="https://demos.creat
111111

112112
</body>
113113

114+
<script>
115+
window.location.href = window.location.href + 'pages/dashboard.html';
116+
</script>
117+
114118
</html>

0 commit comments

Comments
 (0)