SunDev is developed with the micro-framework Silex.
- HTTP server handling php
- Composer
-
Clone this repository into a folder of your choice.
-
Run
composer update
at the root of the SunDev folder. -
Install the following databases, included in repository:
- dbc
- suntools
- world: your live world
- test_world: your ptr world (can be the same as world)
-
Create and edit
app/config.php
fromapp/config.sample.php
-
Edit your host file so that
dev.sunstrider.com.test
points to your server. For example:
127.0.0.1 dev.sunstrider.com
-
Create a virtual host in your web server config. Example of Apache config:
<VirtualHost dev.sunstrider.com.test:80> DocumentRoot "D:/htdocs/SunDev/web" ServerName dev.sunstrider.com.test </VirtualHost>
Example of Nginx config
server { listen 127.0.0.1:80; server_name dev.sunstrider.com.test; root "e:/web/www/dev.sunstrider.com/web"; ## Access Restrictions allow 127.0.0.1; deny all; autoindex on; location ~ ^/index.php(/|$) { try_files $uri =404; include nginx.fastcgi.conf; fastcgi_pass php_farm; } location / { try_files $uri /index.php$is_args$args; } }
Just go into the address you put into your host file, such as dev.sunstrider.com.test
The following admin user is already created in the database (user:password):
- admin:admin
`/user/add`
-
SmartAI: SmartAI Web Editor inspired by SmartAI Editor by Discover- using a custom jQuery library(smartai.js), dataTables.js, chosen.js and jQuery.xcolor.js.
-
SunEquip: Equipment Web Editor.
-
SunDungeon: Checklist of points to check for every NPCs in Outland Dungeons.
-
SunWaypoints: Allow to transfer waypoints and set a pause to a point.
-
SunQuests: Checklist of points to check for every quests in Outland including zones, dungeons, raids and cities.
-
SunClasses: Checklist of points to check for every classes including talents and spells.
A role = a fonctionnality access.
They are listed in app/app.php
.
Implement:
- SunGossip: work in progress
- SunWorld
- Roles.md wiki