1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2024-11-05 04:51:30 +01:00

chore: add Gitpod

This commit is contained in:
divlo 2021-04-20 05:18:03 +02:00
parent 9764867eca
commit b0a608c1fa
5 changed files with 54 additions and 4 deletions

19
.gitignore vendored
View File

@ -26,10 +26,21 @@ coverage
# debug
npm-debug.log*
# editors
.vscode
.theia
.idea
# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace
# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
# misc
.DS_Store

17
.gitpod.yml Normal file
View File

@ -0,0 +1,17 @@
image: 'gitpod/workspace-full'
tasks:
- name: 'docker-daemon'
before: 'cp .env.example .env && npm install --global npm@7 && npm install'
init: 'sudo docker-up'
- name: 'docker-container'
before: 'echo "Waiting for docker daemon to start" &&
until docker info &> /dev/null; do sleep 1; done;'
init: 'docker-compose up'
ports:
- port: 3000
onOpen: 'open-preview'
- port: 1080
onOpen: 'notify'

12
.vscode/extensions.json vendored Normal file
View File

@ -0,0 +1,12 @@
{
"recommendations": [
"divlo.vscode-styled-jsx-syntax",
"divlo.vscode-styled-jsx-languageserver",
"standard.vscode-standard",
"mikestead.dotenv",
"editorconfig.editorconfig",
"coenraads.bracket-pair-colorizer",
"davidanson.vscode-markdownlint",
"syler.sass-indented"
]
}

8
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,8 @@
{
"standard.enable": true,
"standard.engine": "ts-standard",
"standard.treatErrorsAsWarnings": true,
"standard.usePackageJson": true,
"standard.autoFixOnSave": true,
"typescript.tsdk": "node_modules/typescript/lib"
}

View File

@ -47,6 +47,8 @@ Scopes define what part of the code changed.
## Getting Started
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/Divlo/Divlo)
### Installation
```sh