File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,4 +33,6 @@ lerna-debug.log*
3333! .vscode /tasks.json
3434! .vscode /launch.json
3535! .vscode /extensions.json
36- ormconfig.json
36+ ormconfig.json
37+
38+ .devspace
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set +e # Continue on errors
3+
4+ export NODE_ENV=development
5+ if [ -f " package.json" ]; then
6+ echo " Installing NPM Dependencies"
7+ npm install --legacy-peer-deps
8+ fi
9+
10+ COLOR_BLUE=" \033[0;94m"
11+ COLOR_GREEN=" \033[0;92m"
12+ COLOR_RESET=" \033[0m"
13+
14+ # Print useful output for user
15+ echo -e " ${COLOR_BLUE}
16+ Welcome to your development container!
17+ This is how you can work with it:
18+ - Files will be synchronized between your local machine and this container
19+ - You can run any commands that you run generally to manage the application.
20+ "
21+
22+ # Set terminal prompt
23+ export PS1=" \[${COLOR_BLUE} \]devspace\[${COLOR_RESET} \] ./\W \[${COLOR_BLUE} \]\\ $\[${COLOR_RESET} \] "
24+ if [ -z " $BASH " ]; then export PS1=" $ " ; fi
25+
26+ # Include project's bin/ folder in PATH
27+ export PATH=" ./bin:$PATH "
28+
29+ # Open shell
30+ bash --norc
Original file line number Diff line number Diff line change 1+ version : v2beta1
2+ name : quizz
3+
4+ pipelines :
5+ dev :
6+ run : |-
7+ ensure_pull_secrets --all
8+ start_dev app
9+ dev :
10+ app :
11+ imageSelector : ghcr.io/polyflix/quizz:main
12+ devImage : ghcr.io/loft-sh/devspace-containers/typescript:18-alpine
13+ sync :
14+ - path : ./
15+ excludePaths :
16+ - .git/
17+ uploadExcludePaths :
18+ - Dockerfile
19+ - node_modules
20+ - dist
21+ terminal :
22+ command : ./devcontainer.sh
23+ ports :
24+ - port : " 5003:8080"
You can’t perform that action at this time.
0 commit comments