8 Project Setup
MagicBot edited this page 3 years ago

Project setup

Downloading the source and configuring a project only takes a few short minutes!

Prerequisites:

Copy the HTTP link if you haven't yet installed a public key:

CopyUrl

  • Clone the Magicbane public repo to your local machine using the copied URL.

CloneURL

  • Under Settings->VersionControl->Git make sure to turn off these two settings.

CommitOff

  • Select the Project Structure settings within the IDE.

ProjectStructure

  • Select Java 8 as the IDE target as shown.

Java8

  • Delete and recreate content root pointing at the Server directory.
  • Make sure the Language Level still reflects Java 8.
  • The IDE should now autodetect the cloned source.

hmm

Magicbane currently has the following dependencies.

They are all directly obtainable from a running MagicBox instance.

docker cp magicbox:/usr/share/java/EnumBitSet.jar Dependencies/

Add the jar files as project libraries as shown.

Libs

You should now be able to build the game!

Build

Next Steps

You can now move onto the Development Workflow or MagicBox Setup pages for further information.

Support is also available through the Magicbane Discord server. Feel free to stop in and pick MagicBot's brain!