-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔀 Merge pull request #168 from Lissy93/REFACTOR/deployment-files
[REFACTOR] - Reduce bundle size, update workflows, docs and app config
- Loading branch information
Showing
22 changed files
with
654 additions
and
576 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Files specified here are not required for Docker | ||
# so ignoring them helps to reduce the container size | ||
# The Docker container MUST have the following files: | ||
# package.json yarn.lock server.js vue.config.js src/ services/ | ||
|
||
node_modules | ||
docs | ||
.git | ||
.github |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Store environmental variables here. All variables are optional. | ||
|
||
# PORT=4000 # The port to expose the running application on | ||
# NODE_ENV=production # Can be either development, production or test | ||
# BASE_URL=/ # The default base path for serving up static assets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
name: Bug Report 🐛 | ||
description: Report something that's not working the way it's (probably) intended to | ||
title: '[BUG] <title>' | ||
labels: '\U0001F41B Bug' | ||
body: | ||
- type: dropdown | ||
id: environment | ||
attributes: | ||
label: Environment | ||
description: Where are you running Dashy? | ||
options: | ||
- Self-Hosted (Docker) | ||
- Self-Hosted (Bare Metal) | ||
- Cloud Service (Static) | ||
validations: | ||
required: true | ||
- type: input | ||
id: version | ||
attributes: | ||
label: Version | ||
description: What version of Dashy are you running? | ||
placeholder: 1.6.9 ← should look like this (check config menu) | ||
validations: | ||
required: false | ||
- type: textarea | ||
id: repro | ||
attributes: | ||
label: Describe the problem | ||
description: Please describe exactly what is not working, include the steps to reproduce, actual result and expected result | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: logs | ||
attributes: | ||
label: Additional info | ||
description: Logs? Screenshots? Yes, please. | ||
validations: | ||
required: false | ||
- type: checkboxes | ||
id: idiot-check | ||
attributes: | ||
label: Please tick the boxes | ||
description: Before submitting, please ensure that | ||
options: | ||
- label: You are using the latest, or recent version of Dashy | ||
required: true | ||
- label: You've checked that this [issue hasn't already been raised](https://github.com/Lissy93/dashy/issues?q=is%3Aissue) | ||
required: true | ||
- label: You've checked the [docs](https://github.com/Lissy93/dashy/tree/master/docs#readme) and [troubleshooting](https://github.com/Lissy93/dashy/blob/master/docs/troubleshooting.md#troubleshooting) guide | ||
required: true | ||
- label: You agree to the [code of conduct](https://github.com/Lissy93/dashy/blob/master/.github/CODE_OF_CONDUCT.md#contributor-covenant-code-of-conduct) | ||
required: true | ||
- type: markdown | ||
attributes: | ||
value: |- | ||
## Thanks 🙏 | ||
Sorry you are having issues with Dashy, and thank you for raising this ticket - in doing so you are helping to make the app better for everyone 💪 | ||
You should expect a reply within the next 48 hours :) | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,23 @@ jobs: | |
userNameHeight: 20 | ||
svgWidth: 830 | ||
commitMessage: ':blue_heart: Updates contributor SVG' | ||
# Job #2 - Update the Credits page | ||
# Job #2 - Fetches sponsors and inserts into readme and credits page | ||
insert-sponsors: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout 🛎️ | ||
uses: actions/checkout@v2 | ||
- name: Generate Sponsors in Readme 💖 | ||
uses: JamesIves/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
file: 'README.md' | ||
- name: Generate Sponsors in Credits 💖 | ||
uses: JamesIves/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
file: 'docs/credits.md' | ||
# Job #3 - Update the Credits page | ||
insert-credits: | ||
runs-on: ubuntu-latest | ||
name: Inserts contributors into credits.md | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,11 +10,11 @@ jobs: | |
steps: | ||
- uses: actions/checkout@master | ||
- name: Sync Wiki | ||
uses: cmbrose/github-docs-to-wiki@v0.24 | ||
uses: joeizzard/action-wiki-sync@master | ||
with: | ||
githubToken: ${{ secrets.GITHUB_TOKEN }} | ||
defaultBranch: master | ||
rootDocsFolder: ./docs | ||
convertRootReadmeToHomePage: true | ||
useHeaderForWikiName: true | ||
customCommitMessageFormat: ':gem: Chore: Sync Docs to GH Wiki' | ||
username: example | ||
access_token: ${{ secrets.GITHUB_TOKEN }} | ||
wiki_folder: ./docs | ||
commit_username: 'liss-bot' | ||
commit_email: '[email protected]' | ||
commit_message: '📕 Chore: Sync Wiki' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
# Heroku config - Specifies the commands to execute when the app starts | ||
# See docs for more info: https://devcenter.heroku.com/articles/procfile | ||
|
||
web: node server.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.