Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Latest commit

 

History

History
58 lines (32 loc) · 2.3 KB

INTELLIJIDEA.md

File metadata and controls

58 lines (32 loc) · 2.3 KB

1. How to start developing using IntelliJ IDEA

  • Make a local working copy of the project (git clone https://github.com/lealceldeiro/gms.git).

1.1. API Server module

  • Open (import) the folder server in the working copy of the project.

Image: Open server folder

Image: Select server folder

  • Configure the gradle options.

Image: Configure gradle options

  1. Select the distribution of gradle to be used. The default option is "Use default gradle wrapper", but if you like you can check the "Use local gradle distribution" if you have gradle installed on your PC (in which case you must set the "Gradle home" directory.
  2. Select the JVM.
  3. Select the project format (.idea (directory based) in this case).
  • This will create an IntelliJ IDEA project with one module (server). Here you should choose to add the root directory to the VCS.

Image: Server module ready

1.2. Client module

  • Open Module Settings (F4) and add a new module (+ green sign) and select the Import Module option.

Image: Open module settings

Image: Add new module

  • Select the folder client in the same level of the server folder.

Image: Select client folder

  • Select the option "Create module from existing source".

Image: Select options create module from existing source

  • Next.
  • In the window "Import Module", keep the checkbox checked and click "Next";

Image: Select next in the Import Module option

Image: Select options create module from existing source

  • This will create another module on the project (client).

Image: Select options create module from existing source

At this point the project should contain two modules (server and client)