1
0
Fork 0
peertube/scripts/e2e/local.sh
2020-01-23 14:59:44 +01:00

14 lines
357 B
Bash
Executable file

#!/bin/sh
set -eu
npm run clean:server:test
(
cd client
npm run webpack -- --config webpack/webpack.video-embed.js --mode development
)
npm run concurrently -- -k -s first \
"cd client && npm run ng -- e2e --port 3333 -c local" \
"NODE_ENV=test NODE_APP_INSTANCE=1 NODE_CONFIG='{ \"log\": { \"level\": \"warning\" } }' node dist/server"