File tree 4 files changed +85
-0
lines changed
4 files changed +85
-0
lines changed Original file line number Diff line number Diff line change @@ -22,3 +22,15 @@ packages/sdk/browser/node_modules/
22
22
packages /sdk /browser /package-lock.json
23
23
packages /sdk /browser /test /
24
24
packages /sdk /browser /dist /
25
+ docs /node_modules /
26
+ docs /* .iml
27
+ docs /.idea /
28
+ docs /* .log *
29
+ docs /.nuxt /
30
+ docs /.vscode /
31
+ docs /.DS_Store /
32
+ docs /coverage /
33
+ docs /dist /
34
+ docs /sw. *
35
+ docs /.env /
36
+ docs /.output /
Original file line number Diff line number Diff line change
1
+ SHELL := bash
2
+ .PHONY : all server docs
3
+ .DEFAULT_GOAL := all
4
+
5
+ all : server bot
6
+
7
+ server :
8
+ @echo " Building server..."
9
+ @cd licensing/ && make
10
+ @echo " Server built successfully!"
11
+
12
+ docs :
13
+ @echo " Building docs..."
14
+ @cd docs/ && npm run build
15
+ @echo " Docs built succesfully!"
16
+
17
+ bot :
18
+ @echo " Building bot..."
19
+ @cd bot/ && bundle install
20
+ @echo " Bot built successfully!"
21
+
22
+ botStart :
23
+ @echo " Starting bot..."
24
+ @cd bot/ && bundle exec ruby main.rb &
25
+ @echo " Bot started successfully!"
26
+
27
+ serverStart :
28
+ @echo " Starting server..."
29
+ @cd licensing/ && ./bin/corlink-server start &
30
+ @echo " Server started successfully!"
31
+
32
+ start : serverStart botStart
Original file line number Diff line number Diff line change
1
+ version : ' 3'
2
+
3
+ services :
4
+ postgres :
5
+ restart : unless-stopped
6
+ image : postgres:latest
7
+ environment :
8
+ POSTGRES_USER : corlink
9
+ POSTGRES_PASSWORD : corlink
10
+ POSTGRES_DB : corlink
11
+ volumes :
12
+ - ./postgres:/var/lib/postgresql/data
13
+ corlink-server :
14
+ restart : unless-stopped
15
+ image : ghcr.io/ruby-network/corlink-server:latest
16
+ depends_on :
17
+ - postgres
18
+ ports :
19
+ # Do not edit port 8080 (if you don't want it exposed, remove ME!)
20
+ - " yourport:8080"
21
+ environment :
22
+ ADMIN_KEY : " yourkey"
23
+ DB_HOST : " postgres"
24
+ DB_USER : " corlink"
25
+ DB_PASSWORD : " corlink"
26
+ DB_NAME : " corlink"
27
+ DB_PORT : " 5432"
28
+ corlink-bot :
29
+ restart : unless-stopped
30
+ image : ghcr.io/ruby-network/corlink-bot:latest
31
+ container_name : corlink-bot
32
+ environment :
33
+ DISCORD_TOKEN : " yourtoken"
34
+ GUILD_ID : " yourguildid"
35
+ LICENSING_SERVER_URL : corlink-server:8080
36
+ LICENSING_SERVER_KEY : $ADMIN_KEY
37
+ OWNER_ID : " yourownerid"
38
+ networks :
39
+ default :
40
+ external :
41
+ name : corlink
You can’t perform that action at this time.
0 commit comments