Skip to content

Commit

Permalink
chore(gitpod): create gitpod config file and dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfg7 committed Apr 25, 2023
1 parent 6e3163a commit f589a1f
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM gitpod/workspace-node:latest

# Update system
RUN sudo apt update && sudo apt upgrade -y

# Setup Pnpm
RUN corepack enable
RUN corepack prepare pnpm@latest --activate

# Setup ZSH with Oh-My-Zsh
RUN sh -c "$(wget -O- https://github.com/deluan/zsh-in-docker/releases/download/v1.1.5/zsh-in-docker.sh)" -- \
-t https://github.com/denysdovhan/spaceship-prompt \
-p git -p ssh-agent -p yarn \
-p https://github.com/zsh-users/zsh-autosuggestions \
-p https://github.com/zsh-users/zsh-completions \
-p https://github.com/zdharma-continuum/fast-syntax-highlighting


ENV SHELL=/usr/bin/zsh
44 changes: 44 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# This configuration file was automatically generated by Gitpod.
# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml)
# and commit this file to your remote git repository to share the goodness with others.

# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart

image:
file: .gitpod.Dockerfile

ports:
- name: Website
port: 3000
onOpen: open-browser

gitConfig:
alias.co: checkout
alias.cm: checkout main
alias.cb: checkout -b
alias.st: status -sb
alias.lg: log --pretty=format:'%Cred%h%Creset %C(bold)%cr%Creset %Cgreen<%an>%Creset %s' --max-count=30
alias.rollback: reset --soft HEAD~1

vscode:
extensions:
- streetsidesoftware.code-spell-checker # Code Spell Checker
- streetsidesoftware.code-spell-checker-portuguese # Portuguese - Code Spell Checker
- naumovs.color-highlight # Color Highlight
- ms-azuretools.vscode-docker # Docker
- mikestead.dotenv # DotENV
- EditorConfig.EditorConfig # Editor Config
- dbaeumer.vscode-eslint # ESLint
- esbenp.prettier-vscode # Prettier - Code formatter
- GitHub.github-vscode-theme # Github Dark Tubo [Theme]
- PKief.material-icon-theme # Material Icon Theme [Icon Theme]
- miguelsolorio.fluent-icons # Fluent Icons [Product Icon Theme]
- ms-vscode.vscode-typescript-next # JavaScript and TypeScript Nightly
- darkriszty.markdown-table-prettify # Markdown Table Prettifier
- csstools.postcss # PostCSS Language Support
- bradlc.vscode-tailwindcss # Tailwind CSS IntelliSense


tasks:
- name: Install Packages
command: pnpm install

1 comment on commit f589a1f

@vercel
Copy link

@vercel vercel bot commented on f589a1f Apr 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

mfg-b – ./

mateusf.vercel.app
mfg-b-mateusfg7.vercel.app
mfg-b-git-main-mateusfg7.vercel.app

Please sign in to comment.