-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.txt
46 lines (35 loc) · 1.09 KB
/
install.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Run SQL:
1:
Database
User
Campaign
Entry
Faction
FactionEntry
Permission
PermissionGroup
Phase
Territory
TerritoryPoint
UserCampaignData
Insert_Permission_MapCampaign
Install
Change src/settings.sample.php to src/settings.php
Update the values in src/settings.php to be correct for your server.
Create a directory /img/maps
Build
Install NPM (instructions elsewhere)
Install Grunt globally
npm install -g grunt-cli
Install Grunt in project
npm install grunt --save-dev
npm install grunt-contrib-jshint --save-dev
npm install grunt-ftp-deploy --save-dev
Install Composer (https://getcomposer.org/doc/00-intro.md)
Install minify and random_compat
composer install
Upload /one_signal/* files to the *root* of your web directory for web push support.
Give user CreateMapCampaign permission:
INSERT INTO PermissionGroup (PermissionId, UserId) VALUES (1, ?)
Test
"grunt test"