Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
srvpro-pterodactyl
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
srvpro-pterodactyl
Commits
ef8f54a4
Commit
ef8f54a4
authored
Aug 29, 2019
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
finish
parent
88419085
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
14 deletions
+12
-14
egg.json
egg.json
+4
-4
install.sh
install.sh
+8
-9
run.sh
run.sh
+0
-1
No files found.
egg.json
View file @
ef8f54a4
...
...
@@ -3,12 +3,12 @@
"meta"
:
{
"version"
:
"PTDL_v1"
},
"exported_at"
:
"2019-08-29T0
2:32:05
+00:00"
,
"exported_at"
:
"2019-08-29T0
4:12:12
+00:00"
,
"name"
:
"SRVPro"
,
"author"
:
"unknown@unknown.com"
,
"description"
:
"A YGOPro Server."
,
"image"
:
"mycard
\/
srvpro-pterodactyl"
,
"startup"
:
"
cd
\/
home
\/
container
\/
windbot && git fetch origin master && git reset --hard FETCH_HEAD && xbuild
\/
property:Configuration=Release
\/
property:TargetFrameworkVersion=v4.5 && cd
\/
home
\/
container
\/
ygopro && git fetch origin server && git reset --hard FETCH_HEAD && git submodule foreach git fetch origin master && git submodule foreach git reset --hard FETCH_HEAD && .
\/
premake5 gmake && cd build && make config=release && cd .. && strip ygopro && cd
\/
home
\/
container
\/
ygopro-server && git fetch origin master && git reset --hard FETCH_HEAD && npm install &&
node ygopro-server.js"
,
"startup"
:
"node ygopro-server.js"
,
"config"
:
{
"files"
:
"{
\r\n
\"
config
\/
config.json
\"
: {
\r\n
\"
parser
\"
:
\"
json
\"
,
\r\n
\"
find
\"
: {
\r\n
\"
port
\"
:
\"
{{server.build.default.port}}
\"
,
\r\n
\"
modules.welcome
\"
:
\"
{{env.WELCOME}}
\"
,
\r\n
\"
modules.windbot.spawn
\"
: true,
\r\n
\"
modules.http.port
\"
:
\"
{{env.HTTP_PORT}}
\"\r\n
}
\r\n
}
\r\n
}"
,
"startup"
:
"{
\r\n
\"
done
\"
:
\"
server started
\"
,
\r\n
\"
userInteraction
\"
: []
\r\n
}"
,
...
...
@@ -17,8 +17,8 @@
},
"scripts"
:
{
"installation"
:
{
"script"
:
"#!
\/
bin
\/
bash
\r\n
cd
\/
home
\/
container
\r\n\r\n
git clone https:
\/\/
github.com
\/
moecube
\/
ygopro --branch=server --recursive
\r\n
cd ygopro
\/\r\n
git submodule foreach git checkout master
\r\n
wget -O - https:
\/\/
github.com
\/
premake
\/
premake-core
\/
releases
\/
download
\/
v5.0.0-alpha13
\/
premake-5.0.0-alpha13-linux.tar.gz | tar zfx -
\r\n
.
\/
premake5 gmake
\r\n
cd build
\/\r\n
make config=release
\r\n
cd ..
\r\n
ln -s bin
\/
release
\/
ygopro .
\/\r\n
strip ygopro
\r\n
mkdir replay
\r\n
cd ..
\r\n\r\n
git clone https:
\/\/
github.com
\/
moecube
\/
windbot
\r\n
cd windbot
\r\n
xbuild
\/
property:Configuration=Release
\/
property:TargetFrameworkVersion=v4.5
\r\n
ln -s bin
\/
Release
\/
WindBot.exe .
\r\n
ln -s ..
\/
ygopro
\/
cards.cdb .
\r\n
cd ..
\r\n\r\n
git clone https:
\/\/
github.com
\/
moecube
\/
srvpro ygopro-server
\r\n
cd ygopro-server
\r\n
npm ci
\r\n
ln -s ..
\/
ygopro .
\r\n
ln -s ..
\/
windbot .
\r\n
mkdir config plugins decks replays
\r\n
cp data
\/
default_config.json config
\/
config.json
\r\n
cd .
."
,
"container"
:
"
mycard
\/
srvpro-pterodactyl
"
,
"script"
:
"#!
\/
bin
\/
bash
\r\n
apt update
\r\n
apt -y install git wget build-essential libevent-dev libsqlite3-dev mono-complete
\r\n\r\n
git clone https:
\/\/
github.com
\/
moecube
\/
srvpro
\/
mnt
\/
server
\r\n
cd
\/
mnt
\/
server
\r\n
npm ci
\r\n
mkdir config plugins decks replays
\r\n
cp data
\/
default_config.json config
\/
config.json
\r\n\r\n
git clone https:
\/\/
github.com
\/
moecube
\/
ygopro --branch=server --recursive
\r\n
cd ygopro
\/\r\n
git submodule foreach git checkout master
\r\n
wget -O - https:
\/\/
github.com
\/
premake
\/
premake-core
\/
releases
\/
download
\/
v5.0.0-alpha13
\/
premake-5.0.0-alpha13-linux.tar.gz | tar zfx -
\r\n
.
\/
premake5 gmake
\r\n
cd build
\/\r\n
make config=release
\r\n
cd ..
\r\n
ln -s bin
\/
release
\/
ygopro .
\/\r\n
strip ygopro
\r\n
mkdir replay
\r\n
cd ..
\r\n\r\n
git clone https:
\/\/
github.com
\/
moecube
\/
windbot
\r\n
cd windbot
\r\n
xbuild
\/
property:Configuration=Release
\/
property:TargetFrameworkVersion=v4.5
\r\n
ln -s bin
\/
Release
\/
WindBot.exe .
\r\n
ln -s ..
\/
ygopro
\/
cards.cdb
."
,
"container"
:
"
node:12-stretch-slim
"
,
"entrypoint"
:
"bash"
}
},
...
...
install.sh
View file @
ef8f54a4
#!/bin/bash
apt update
apt
-y
install
git wget build-essential libevent-dev libsqlite3-dev mono-complete
git clone https://github.com/moecube/srvpro /mnt/server
cd
/mnt/server
npm ci
mkdir
config plugins decks replays
cp
data/default_config.json config/config.json
git clone https://github.com/moecube/ygopro
--branch
=
server
--recursive
cd
ygopro/
...
...
@@ -18,12 +26,3 @@ cd windbot
xbuild /property:Configuration
=
Release /property:TargetFrameworkVersion
=
v4.5
ln
-s
bin/Release/WindBot.exe
.
ln
-s
../ygopro/cards.cdb
.
cd
..
git clone https://github.com/moecube/srvpro ygopro-server
cd
ygopro-server
npm ci
ln
-s
../ygopro
.
ln
-s
../windbot
.
mkdir
decks replays
cd
..
run.sh
deleted
100644 → 0
View file @
88419085
cd
/home/container/windbot
&&
git fetch origin master
&&
git reset
--hard
FETCH_HEAD
&&
xbuild /property:Configuration
=
Release /property:TargetFrameworkVersion
=
v4.5
&&
cd
/home/container/ygopro
&&
git fetch origin server
&&
git reset
--hard
FETCH_HEAD
&&
git submodule foreach git fetch origin master
&&
git submodule foreach git reset
--hard
FETCH_HEAD
&&
./premake5 gmake
&&
cd
build
&&
make
config
=
release
&&
cd
..
&&
strip ygopro
&&
cd
/home/container/ygopro-server
&&
git fetch origin master
&&
git reset
--hard
FETCH_HEAD
&&
npm
install
&&
node ygopro-server.js
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment