Skip to content

Commit

Permalink
provided gitpod.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
fcamblor committed Sep 15, 2021
1 parent da9d0d3 commit d49fc60
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
tasks:
- name: Installing node packages
init: npm ci
command: npm run dev

ports:
- port: 3000
onOpen: open-preview
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ Run vite (we're obviously using vitejs for vite-ma-dose !) :
Open your browser : http://localhost:3000/
and enjoy live reload / on-the-fly typescript compilation

You can also click on [this link](https://gitpod.io/#https://github.com/CovidTrackerFr/vitemadose-front) in order to open a Gitpod workspace with everything loaded in it.

## Alternative: Running with docker
If you don't want to install node.js on your machine, you can isolate it with [docker](https://www.docker.com/get-started):

Expand Down

0 comments on commit d49fc60

Please sign in to comment.