Lee1000
Lee1000
RRailway
Created by Lee1000 on 12/10/2023 in #✋|help
Error processing message: SSL SYSCALL error: EOF detected
I figured it wasn't the connection to Binance as it works if I deploy it without multiprocessing. But it processes too slow so need multiprocessing.
8 replies
RRailway
Created by Lee1000 on 12/10/2023 in #✋|help
Error processing message: SSL SYSCALL error: EOF detected
8e5fa0d4-5a64-4de3-aac9-8d83dc229d11
8 replies
RRailway
Created by Lee1000 on 6/22/2023 in #✋|help
What happened to restart, redeploy, remove buttons?
Oh, they're back after logging in again. Weird, I was using my dashboard, added new deployments, viewing logs, etc. but those buttons were not viewable until I re-logged in.
6 replies
RRailway
Created by Lee1000 on 6/22/2023 in #✋|help
What happened to restart, redeploy, remove buttons?
N/A
6 replies
RRailway
Created by Lee1000 on 4/11/2023 in #✋|help
Does anyone know how to install ta-lib?
@matifali done!
9 replies
RRailway
Created by Lee1000 on 4/11/2023 in #✋|help
Does anyone know how to install ta-lib?
Sure! Here you go:
# Use an official Python runtime as a parent image
FROM python:3.9-slim-buster

# Install required packages
RUN apt-get update && \
apt-get install -y build-essential curl git && \
apt-get install -y libatlas-base-dev liblapack-dev libopenblas-dev gfortran && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

# Install TA-Lib
RUN curl -L https://downloads.sourceforge.net/project/ta-lib/ta-lib/0.4.0/ta-lib-0.4.0-src.tar.gz | tar xvz && \
cd ta-lib && \
./configure --prefix=/usr && \
make && \
make install && \
cd .. && \
rm -rf ta-lib

# Set the working directory to /app
WORKDIR /app

# Copy the requirements file into the container at /app
COPY requirements.txt .

# Install the required packages
RUN pip install --no-cache-dir -r requirements.txt

# Copy the rest of the application code into the container at /app
COPY . .

# Run the command to start the application
CMD ["python", "main.py"]
# Use an official Python runtime as a parent image
FROM python:3.9-slim-buster

# Install required packages
RUN apt-get update && \
apt-get install -y build-essential curl git && \
apt-get install -y libatlas-base-dev liblapack-dev libopenblas-dev gfortran && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

# Install TA-Lib
RUN curl -L https://downloads.sourceforge.net/project/ta-lib/ta-lib/0.4.0/ta-lib-0.4.0-src.tar.gz | tar xvz && \
cd ta-lib && \
./configure --prefix=/usr && \
make && \
make install && \
cd .. && \
rm -rf ta-lib

# Set the working directory to /app
WORKDIR /app

# Copy the requirements file into the container at /app
COPY requirements.txt .

# Install the required packages
RUN pip install --no-cache-dir -r requirements.txt

# Copy the rest of the application code into the container at /app
COPY . .

# Run the command to start the application
CMD ["python", "main.py"]
9 replies
RRailway
Created by Lee1000 on 4/11/2023 in #✋|help
Does anyone know how to install ta-lib?
Great, thank you, successfully installed!
9 replies