This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Stage 1 - the build process | |
FROM node:10.13.0-slim as build-deps | |
WORKDIR /usr/src/app | |
COPY . /usr/src/app | |
ARG API_URL | |
ARG KYC_API_URL | |
RUN npm install | |
RUN REACT_APP_API_URL=${API_URL} REACT_APP_KYC_API_URL=${KYC_API_URL} npm run build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/user/Documents/projects/youtube-mp3-download/lib/python3.6/site-packages/celery/backends/amqp.py:68: CPendingDeprecationWarning: | |
The AMQP result backend is scheduled for deprecation in version 4.0 and removal in version v5.0. Please use RPC backend or a persistent backend. | |
alternative='Please use RPC backend or a persistent backend.') | |
[email protected] v4.1.0 (latentcall) | |
Darwin-16.6.0-x86_64-i386-64bit 2017-08-18 08:49:36 | |
[config] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.shortcuts import redirect, render, get_object_or_404 | |
import requests | |
from bs4 import BeautifulSoup | |
def submit(request): | |
template_name = 'downloader/index.html' | |
result_template_name = 'downloader/saver_page.html' | |
if request.method == 'POST': |