forked from truvhq/quickstart
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
50 lines (38 loc) · 1.04 KB
/
Makefile
File metadata and controls
50 lines (38 loc) · 1.04 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
SHELL := /bin/bash
.PHONY: env python_docker python_local
env:
test -f .env || cp .env.example .env
python_docker:
docker-compose --file docker-compose.yml up --build python
node_docker:
docker-compose --file docker-compose.yml up --build node
ruby_docker:
docker-compose --file docker-compose.yml up --build ruby
csharp_docker:
docker-compose --file docker-compose.yml up --build csharp
go_docker:
docker-compose --file docker-compose.yml up --build go
node_local:
cd node && \
npm install && \
set -a && source ../.env && set +a && \
npm start
python_local:
python3 -m venv quickstart_venv && \
./quickstart_venv/bin/pip3 install -r python/requirements.txt && \
FLASK_ENV=development ./quickstart_venv/bin/python3 -m python.src.server
ruby_local:
cd ruby && \
bundle install && \
set -a && source ../.env && set +a && \
rails server
csharp_local:
cd c-sharp && \
set -a && source ../.env && set +a && \
dotnet run
go_local:
cd golang && \
go get && \
set -a && source ../.env && set +a && \
go install && \
go run truv