Jump to content

Featured Replies

Posted
  • Popular Post
comment_2120

Things you'll need;

Lost-Isle Files

Gradle

Eclipse

First, make sure you have the files above, start by opening the Src and Client in Eclipse.

Next, in the files you'll want to install MongoDB, aswell as make a new folder in your C drive named "Data" without quotes.

Inside the "Data" folder, create a new folder named "db" without quotes.

Now, find your Environmental Variables and edit PATH with this: "C:\Program Files\MongoDB\Server\3.2\bin;"

Good, now next open up the Gradle link, and click and drag the 'Install' button onto Eclipse and let it install, after it's done it'll need to restart Eclipse, select yes.

Next, right click the Source folder, go to Configure>Add Gradle Nature

Now you should have like 9 errors, don't worry about them. I'll post the fix once I get off work.

Run the server first, wait until the console says ready, then run the client.

 

If this helped you, leave a 'like' if ya want.

9_9

@MummaPig

  • Replies 43
  • Views 11.2k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Nice guide, you should also mention that you need to have MongoDB active before running server, otherwise it won't work.  1. Run cmd.exe as administrator 2. Type 'cd C:\Program Files\MongoDB

  • I understand where you're coming from, everyone has to start from somewhere but if someone wants to do it the right way then he needs to learn the language rather than just download a source and host

comment_2240

Nice guide, you should also mention that you need to have MongoDB active before running server, otherwise it won't work. 

1. Run cmd.exe as administrator

2. Type 'cd C:\Program Files\MongoDB\Server\3.2\bin' (or where your MongoDB files are) and press enter. 

3. Type 'mongod --dbpath C:\data\db' and press enter. It should now be waiting for connections on Port 27017.

Edited by Texel

comment_2242
1 minute ago, Texel said:

Nice guide, you should also mention that you need to have MongoDB active before running server, otherwise it won't work. 

1. Run cmd.exe as administrator

2. Type 'cd C:\Program Files\MongoDB\Server\3.2\bin' (or where your MongoDB files are) and press enter. 

3. Type 'mongod --dbpath C:\data\db' and press enter. It should now be waiting for connections on Port 27017.

Thanks mate.

  • Author
comment_2365
4 minutes ago, Server said:

Thanks for the tutorial but one thing I'd like to point out; if someone can't run a server then he/she probably shouldn't start one. 

I couldn't run a server without .bat files at first, until I learned how to run and use Eclipse. Some people are differant learners, just got to find where you can best learn. =)

comment_2367
1 hour ago, Booty Pics said:

I couldn't run a server without .bat files at first, until I learned how to run and use Eclipse. Some people are differant learners, just got to find where you can best learn. =)

I understand where you're coming from, everyone has to start from somewhere but if someone wants to do it the right way then he needs to learn the language rather than just download a source and host it for whatever reason.

comment_2375
16 hours ago, Texel said:

Nice guide, you should also mention that you need to have MongoDB active before running server, otherwise it won't work. 

1. Run cmd.exe as administrator

2. Type 'cd C:\Program Files\MongoDB\Server\3.2\bin' (or where your MongoDB files are) and press enter. 

3. Type 'mongod --dbpath C:\data\db' and press enter. It should now be waiting for connections on Port 27017.

You don't don't nessecarily have to have it running before you start the server. but if you want to connect, then yes you need it running. you can start it during the server start up, after it started, or before. You don't HAVE to start it before 

Create an account or sign in to comment