Before you get started, you should have a server to host the project and knowledge of Lite-C, PHP and know how to work with a mySQL database.
This is required to update the template as well as develop your project. You must also own a pro edition of 3DGameStudio A8 to use the online features of the engine.
Evonet is designed to be uploaded as a sub-domain. To get started using Evonet, (Before you start uploading the files to the server), you must first configure your settings and get everything ready.
Evonet has a client folder named "evonet_client" and a server folder named "evonet".
First, go into the client folder, then into the "project" folder. In this you will see a file named "evonet_config.c". Open it and you will see 7 sections that need your data.
The first 6 sections hold your domain URLs that link to the evonet PHP code. The only thing you need to add to these URLs is the domain name of where Evonet will be uploaded.
Leave the rest of the path the same and only add your domain name in them. Just skip the 3 shop URLs for now. We'll cover those in the shop tutorial. Now in the 7th section on the script, you will see 3 unique keys. These keys are used by the client
to identify itself to the server. This also allows you to change them for future updates and stop old client versions from connecting. Once you have put in the correct data, lets move on to the next step.
Now its time to setup the server data needed for the client and database to connect. Go into your server folder "evonet" and you will see a list of folders and php files.
In this list, find the "evonet_config.php" file and open it. This script holds
7 more sections to update. The first and second are your database settings for mySQL, the third and fourth hold your settings for emails. Read the comments in the file and give the correct information.
After this, the fifth section holds your client keys (The same ones that you created in the client config file). Make sure that your client and server keys are exactly the same. Then in the
final two sections you will see some names, data_1 to data_6 and Slot_1 to Slot_8. These are used by the data manager and data builder to label custom data. These can be updated later.
Final Config Setup
Now before we start uploading this to the server, there are just a few small details to finish. In the server folder you will see a .htaccess file. Open it and change the
3 links at the bottom to include your domain name. These are just html error pages for the evonet homepage template.
In the main folder of this template is a file named "evonetDB.sql". Open this file in an editor and add in your database name where it says "USE 'evonetDB';" and change
this name to the name of your database. This file holds all the database information to run evonet. Login to your sql database and import it.
IMPORTANT : Evonet has 4 tables : "config" "users" "project" "shop". The evonet php code and the admin tools use these names. If you change them, you will have to edit all the php files.
Take the "evonet" server folder and upload it to your host domain as a sub-domain. Evonet comes with a homepage that is ready for development.
Double check your URLs in the client config file to make sure they are correct.
If all your data is correct, you will now be able to open the client and connect to the template files. Create a new user account and verify your email, then login to
the client. As a user, you can test the update example and access the user web portal, but you will not be able to access the admin features. Login to your sql database and you will see
your newly created account. Now set your "evonet_admin" value from 0 to 1. This will verify you as the projects ADMIN and will now give access to the file manager and data manager. After
you set yourself as the admin, your ADMIN IP address will save to the database the next time you log in. Only an ADMIN IP is allowed to connect.