-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (24 loc) · 851 Bytes
/
Makefile
File metadata and controls
27 lines (24 loc) · 851 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
all:
@echo "make devenv_external_resources - Create & setup development virtual environment for external_resources"
@echo "make devenv_dashboard - Create & setup development virtual environment for dashboard"
@echo "make mongo - Start mongo container"
@exit 0
devenv_external_resources:
cd "${CURDIR}/external_resources" && \
rm -rf venv && \
python3 -m venv venv && \
. venv/bin/activate && \
pip install -r requirements.txt
devenv_dashboard:
cd "${CURDIR}/dashboard" && \
rm -rf env && \
python3 -m venv venv && \
. venv/bin/activate && \
pip install -r requirements.txt
mongo:
docker stop mongodb-test || true
docker run --rm --detach --name=mongodb-test \
--env MONGO_INITDB_ROOT_USERNAME=admin \
--env MONGO_INITDB_ROOT_PASSWORD=admin \
--env MONGO_INITDB_DATABASE=crypto_data \
--publish 27017:27017 mongo:4