You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
517 B
18 lines
517 B
tasks:
|
|
- init: >
|
|
git clone https://github.com/algorithm-visualizer/server.git &&
|
|
cd server &&
|
|
npm install &&
|
|
echo -e "GITHUB_CLIENT_ID=dummy\nGITHUB_CLIENT_SECRET=dummy\nAWS_ACCESS_KEY_ID=dummy\nAWS_SECRET_ACCESS_KEY=dummy" > .env.local &&
|
|
cd ..
|
|
command: cd server && npm run watch
|
|
- init: >
|
|
npm install &&
|
|
echo 'DANGEROUSLY_DISABLE_HOST_CHECK=true' > .env.local
|
|
command: npm start
|
|
ports:
|
|
- port: 3000
|
|
onOpen: notify
|
|
- port: 8080
|
|
onOpen: ignore
|