Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Moecube Store
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
MyCard
Moecube Store
Commits
a4badb9b
Commit
a4badb9b
authored
Dec 07, 2013
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server build
parent
6ba7f164
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
0 deletions
+40
-0
server/ubuntu-12.04-x86_64.sh
server/ubuntu-12.04-x86_64.sh
+40
-0
No files found.
server/ubuntu-12.04-x86_64.sh
0 → 100644
View file @
a4badb9b
mycard_version
=
1.2.9
sudo
apt-get update
-y
sudo
apt-get
install
python-software-properties
-y
sudo
wget
-q
-O-
http://archive.getdeb.net/getdeb-archive.key |
sudo
apt-key add -
sudo
sh
-c
"echo 'deb http://archive.getdeb.net/ubuntu/ precise-getdeb games' >> /etc/apt/sources.list"
sudo
add-apt-repository ppa:codegear/release
-y
sudo
apt-get update
sudo
apt-get
install
build-essential git premake4 libfreetype6-dev libevent-dev libsqlite3-dev libirrlicht1.8-dev liblua5.2-dev libgl1-mesa-dev-lts-raring libglu-dev p7zip-full
-y
sudo ln
-s
/usr/lib/x86_64-linux-gnu/liblua5.2.so /usr/lib/liblua.so
sudo ln
-s
/usr/include/irrlicht1.8 /usr/include/irrlicht
git clone https://github.com/mycard/ygopro.git
-b
server
cd
ygopro/
premake4 gmake
cd
build/
make
config
=
release ygopro
-j2
cd
..
ln
-s
bin/release/ygopro ./
strip ygopro
wget
--user-agent
=
"Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
https://my-card.in/mycard/download
-O
mycard.7z
7z x mycard.7z mycard-
$mycard_version
/ygocore
-y
yes
|
cp
-rf
mycard-
$mycard_version
/ygocore/
*
ygopro/
rm
-rf
mycard-
$mycard_version
mycard.7z
cd
..
sudo
add-apt-repository ppa:chris-lea/node.js
-y
sudo
apt-get update
sudo
apt-get
install
nodejs
-y
git clone https://github.com/mycard/ygopro-server.git
cd
ygopro-server
npm
install
sudo
npm
install
-g
coffee-script forever bunyan
ln
-s
../ygopro ygocore
forever start ygopro-server.js
cd
..
\ No newline at end of file
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