A Scala Dofus 1.29 emulator
- Clone this repository with
git clone https://github.com/Emudofus/Photon.gitYou may need to install Git before
- Then, go to the Photon folder with
cd Photon/and run Gradle
gradlew installApp- After that, get
loginfolder fromlogin/build/install/andrealmfolder fromrealm/build/install/and copy them to aprod/folder
cd Photon/
mkdir prod/
cp -rf login/build/install/login/**/* prod/
cp -rf realm/build/install/realm/ prod/-
You may also want to create schemas and tables on your SQL server. You can find all SQL scripts inside
login/main/res/db/migrationfor login tables and insiderealm/main/res/db/migrationfor realm tables. -
Finally, go to
prod/and run
bin/loginor
bin/realm- todo instructions with configuration files
-
copy
application.conf.distandlogback.groovy.disttoapplication.confandlogback.conffrom both login and realm login projects -
edit them as you have to
-
apply database migrations with
for login server
gradle login:flywayMigrate -Dflyway.url='insert_database_url_here'
for realm server
gradle realm:flywayMigrate -Dflyway.url='insert_database_url_here'
- run
gradle login:runorgradle realm:run.
