dev env
parent
e1e2445194
commit
30cfbd2157
11
Dockerfile
11
Dockerfile
|
@ -0,0 +1,11 @@
|
||||||
|
FROM ubuntu:20.04
|
||||||
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y \
|
||||||
|
python3-pip \
|
||||||
|
&& apt-get clean
|
||||||
|
|
||||||
|
COPY ./banana/ /app/banana/
|
||||||
|
COPY pyproject.toml /app/
|
||||||
|
WORKDIR /app/
|
||||||
|
RUN pip3 install --no-deps .
|
32
README.mdown
32
README.mdown
|
@ -2,8 +2,38 @@
|
||||||
|
|
||||||
Elder Scrolls Online addon manager and a Tamriel Trade Centre price table updater
|
Elder Scrolls Online addon manager and a Tamriel Trade Centre price table updater
|
||||||
|
|
||||||
|
[MIT License](LICENSE)
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
|
|
||||||
# Installation
|
```
|
||||||
|
python3-pip
|
||||||
|
```
|
||||||
|
|
||||||
|
# Linux Installation
|
||||||
|
|
||||||
|
# Windows Installation
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
|
|
||||||
|
# Linux Development
|
||||||
|
|
||||||
|
Use docker to test the python components.
|
||||||
|
For docker installation run the following commands on [Ubuntu 20.04](https://ubuntu.com/download/):
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo apt-get update && sudo apt-get install -y \
|
||||||
|
docker-compose \
|
||||||
|
docker.io \
|
||||||
|
&& apt-get clean
|
||||||
|
|
||||||
|
sudo usermod -aG docker $USER
|
||||||
|
```
|
||||||
|
|
||||||
|
Build and run the dev environment by entering the following commands:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd ./banana/
|
||||||
|
docker-compose build
|
||||||
|
docker-compose run banana
|
||||||
|
```
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
version: "3"
|
||||||
|
|
||||||
|
services:
|
||||||
|
banana:
|
||||||
|
image: banana
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
command: banana-script
|
Loading…
Reference in New Issue