If you already have a local copy of loklak_server
repository
- Download and install Eclipse
- Open Eclipse and choose
Import Project
- In the window that opens up, Choose
git
and pressNext
- Choose a local repository and Add the repository to the search results window.
- Press Finish
- Then choose the
loklak_server
git repository in the list and proceed in the wizard. - Choose the radio option which says
Import existing Eclipse Projects
- Press Finish to open up the Package Explorer and the IDE should be available with the project opened.
- Once the repository is ready using the Package Explorer navigate to
org.loklak.LoklakServer
- Right click on LoklakServer, Choose
Run As > Run Configurations
- Choose
Java Application
and press theNew Configuration
button in the top left corner of this pane. - In the frame panel that opens up, Move to the Arguments Tab and add the VM Arguments as
-Xmx2G -Xms2G -server -ea
- Click
Apply
and thenClose
the window
You can use Eclipse to download the loklak_server from the git url
in Step 4, Instead of choosing Local Repository
choose Remote URL
and use the git link https://github.com/loklak/loklak_server.git
and follow the rest of the instructions
- Choose
File > New > Project
- Choose
Java > Java Project from existing ant file
- Navigate to the local copy of the repository and use the build file to open up
loklak_server