Skip to content

Commit

Permalink
Merge pull request #59 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 67f79c9 + ed23148 commit c55c601
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ Let us know your thoughts below. And good luck with development!
- [Versions](#versions)
- [Demo](#demo)
- [Quick start](#quick-start)
- [Deploy](#deploy)
- [Terminal Commands](#terminal-commands)
- [Documentation](#documentation)
- [What's included](#whats-included)
Expand Down Expand Up @@ -92,6 +93,12 @@ Quick start options:
1. Download and Install NodeJs from [NodeJs Official Page](https://nodejs.org/en/download/).
2. Navigate to the root / directory 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/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/bootstrap/overview/soft-ui-dashboard?ref=readme-sud).

Expand Down
15 changes: 15 additions & 0 deletions genezio.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: 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: .
# 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
yamlVersion: 2
4 changes: 4 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,8 @@ <h6>If you are not redirected automatically, follow <a href="https://demos.creat

</body>

<script>
window.location.href = window.location.href + 'pages/dashboard.html';
</script>

</html>

0 comments on commit c55c601

Please sign in to comment.