Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
srvpro
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
List
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
nanahira
srvpro
Commits
20341685
Commit
20341685
authored
Apr 30, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update install script
parent
b9efb94e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
19 deletions
+15
-19
docs/install_centos.sh
docs/install_centos.sh
+2
-5
docs/install_ubnutu.sh
docs/install_ubnutu.sh
+2
-7
docs/update.sh
docs/update.sh
+11
-7
No files found.
docs/install_centos.sh
View file @
20341685
...
...
@@ -66,12 +66,9 @@ mkdir decks decks_save replays
git clone https://github.com/purerosefallen/ygopro
--branch
=
server
--recursive
cd
ygopro/
git submodule foreach git checkout master
premake4 gmake
cd
ocgcore/
git checkout master
cd
../script/
git checkout master
cd
../build/
cd
build/
make
config
=
release
cd
..
ln
-s
bin/release/ygopro ./
...
...
docs/install_ubnutu.sh
View file @
20341685
...
...
@@ -9,8 +9,6 @@ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
echo
y |
sudo
-E
apt-get
install
-y
curl git build-essential libreadline-dev libsqlite3-dev mono-complete nodejs
sudo
-E
npm
install
pm2
-g
cd
~
mkdir
lib
cd
lib
...
...
@@ -65,12 +63,9 @@ mkdir decks decks_save replays
git clone https://github.com/purerosefallen/ygopro
--branch
=
server
--recursive
cd
ygopro/
git submodule foreach git checkout master
premake4 gmake
cd
ocgcore/
git checkout master
cd
../script/
git checkout master
cd
../build/
cd
build/
make
config
=
release
cd
..
ln
-s
bin/release/ygopro ./
...
...
docs/update.sh
View file @
20341685
#!/bin/bash
cd
~/ygopro-server
# update script
cd
ygopro-server
git pull origin master
git reset
--hard
FETCH_HEAD
cd
windbot
git pull origin master
git reset
--hard
FETCH_HEAD
echo
y | xbuild /property:Configuration
=
Release
cd
../ygopro
git pull origin master
cd
script
git pull origin master
git pull origin server
git reset
--hard
FETCH_HEAD
cd
..
git submodule foreach git pull origin master
git submodule foreach git reset
--hard
FETCH_HEAD
premake4 gmake
cd
build
make
config
=
release
cd
..
cd
..
/
strip ygopro
cd
~
cd
../../
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