Remove unused files

This commit is contained in:
Serene-Arc
2021-03-14 11:51:22 +10:00
committed by Ali Parlakci
parent 9e546a6718
commit 7c1b2da05c
4 changed files with 0 additions and 80 deletions

View File

@@ -1,27 +0,0 @@
FROM python:3.9
LABEL Description="This image enables running Buld Downloader for Reddit with in a container environment" Version="0.0.1"
ENV PYTHONUNBUFFERED 1
ENV PYTHONDONTWRITEBYTECODE 1
EXPOSE 8080
EXPOSE 7634
# Install dependencies
RUN apt-get update \
&& apt-get install -y build-essential \
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
&& rm -rf /var/lib/apt/lists/*
# Python requirements
COPY requirements.txt /requirements.txt
RUN pip install --no-cache-dir -r /requirements.txt \
&& rm -rf /requirements.txt
# Copy over project files
COPY . /bdfr
WORKDIR /bdfr
# Useful so the image doubles as reference to the binary
ENTRYPOINT ["python", "script.py"]
CMD ["python", "script.py", "-d", "downloads"]

View File

@@ -1 +0,0 @@
theme: jekyll-theme-cayman

View File

@@ -1,17 +0,0 @@
version: "3"
services:
bdfr:
build:
context: .
dockerfile: ./Dockerfile
image: bdfr
container_name: bdfr
ports:
- "8080:8080"
- "7634:7634"
volumes:
- .:/bdfr:z
container_name: bdfr_container
network_mode: bridge

View File

@@ -1,35 +0,0 @@
# Interpret from source code
## Requirements
### 🐍 Python 3 Interpreter
- Python 3 is required. See if it is already installed, [here](#finding-the-correct-keyword-for-python).
- If not, download the matching release for your platform [here](https://www.python.org/downloads/) and install it. If you are a *Windows* user, selecting **Add Python 3 to PATH** option when installing the software is **mandatory**.
### 📃 Source Code
[Download the repository](https://github.com/aliparlakci/bulk-downloader-for-reddit/archive/master.zip) and extract the zip into a folder.
## 💻 Using the command line
Open the [Command Promt](https://youtu.be/bgSSJQolR0E?t=18), [Powershell](https://youtu.be/bgSSJQolR0E?t=18) or [Terminal](https://youtu.be/Pz4yHAB3G8w?t=31) in the folder that contains the script.py file (click on the links to see how)
### Finding the correct keyword for Python
Enter these lines to the terminal window until it prints out the a version starting with **`3.`**:
- `python --version`
- `python3 --version`
- `py --version`
- `py -3 --version`
Once it does, your keyword is without the `--version` part.
## 📦 Installing dependencies
Enter the line below to terminal window when you are in the directory where script.py is, use your keyword instead of `python`:
```console
python -m pip install -r requirements.txt
```
## 🏃‍♂️ Running the code
Type below code into command line inside the program folder, use your keyword instead of `python`:
```console
python script.py
```
The program should guide you through. **However**, you can also use custom options. See [Options](../README.md#⚙-Options)