forked from it-goats/it-goats
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·52 lines (35 loc) · 769 Bytes
/
setup.sh
File metadata and controls
executable file
·52 lines (35 loc) · 769 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/bin/bash
echo ''
echo '======= Setting up languages & tools ========'
echo ''
asdf plugin-add python
asdf plugin-add nodejs
asdf plugin-add poetry https://github.com/asdf-community/asdf-poetry.git
asdf install
## Configure mookme
echo ''
echo '======= Setting up mookme - select pre-commit and proceed ========'
echo ''
npm install
npx mookme init --only-hook
echo ''
echo '======= Setting up bode ========'
echo ''
cd bode
poetry config virtualenvs.in-project true
poetry install
echo ''
echo '======= Setting up cabra ========'
echo ''
cd ../cabra
npm install
cd ..
echo ''
echo '======= Starting the project ========'
echo ''
if command -v docker-compose &> /dev/null
then
docker-compose up --build
else
docker compose up --build
fi