add Makefile dev installation
This commit is contained in:
parent
d12ef62f78
commit
0ed9acd405
@ -11,6 +11,7 @@ RUN apt update && apt install -y
|
|||||||
COPY startup.sh /app/
|
COPY startup.sh /app/
|
||||||
COPY requirements.txt /app/
|
COPY requirements.txt /app/
|
||||||
|
|
||||||
|
RUN pip install -U pip
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
|
|
||||||
ENTRYPOINT [ "/app/startup.sh" ]
|
ENTRYPOINT [ "/app/startup.sh" ]
|
||||||
|
|||||||
6
Makefile
6
Makefile
@ -8,6 +8,12 @@ lint:
|
|||||||
ruff deployment/*.py
|
ruff deployment/*.py
|
||||||
ruff mumui/*.py
|
ruff mumui/*.py
|
||||||
|
|
||||||
|
dev:
|
||||||
|
rm -rf venv
|
||||||
|
python3 -m virtualenv venv
|
||||||
|
./venv/bin/pip install -r requirements.txt
|
||||||
|
./venv/bin/pip install -r requirements-dev.txt
|
||||||
|
|
||||||
django:
|
django:
|
||||||
docker build . -t mumui:local
|
docker build . -t mumui:local
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user