Run npm start
for a dev server and client. Navigate to http://localhost:3000/
. The app will automatically reload if you change any of the source files.
Alternatively you can have separate terminals and run:
- npm run serve
- ng serve --open --host 0.0.0.0 --proxy-config proxy.conf.json
Run npm run build
to build the project. The build artifacts will be stored in the dist/
directory.
Run npm run serve
to run the server after a build.
docker run -d\
--name youtube-downloader \
-p 8080:8080 \
--env GOOGLE_API_KEY=? \
dabauum221/youtube-downloader
version: '3'
services:
youtube-downloader:
image: dabauum221/youtube-downloader
expose:
- 8080
container_name: youtube-downloader
environment:
- GOOGLE_API_KEY=?
restart: unless-stopped
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.