Update readme
This commit is contained in:
parent
50107bfe67
commit
047410610d
12
Dockerfile
12
Dockerfile
@ -1,12 +0,0 @@
|
|||||||
FROM php:5-apache
|
|
||||||
MAINTAINER Skylar Ittner <admin@netsyms.com>
|
|
||||||
RUN apt-get update && apt-get upgrade -y
|
|
||||||
RUN apt-get install git openssh-server
|
|
||||||
# nuke the webroot
|
|
||||||
WORKDIR /var/www
|
|
||||||
RUN rm -rf html && mkdir html
|
|
||||||
WORKDIR /var/www/html
|
|
||||||
# install the server crap (private repo for now, thx GitHub Student)
|
|
||||||
RUN git clone https://skylarmt-script-account:scriptb0t@github.com/skylarmt/TerranQuestServer.git .
|
|
||||||
# 0wn3d
|
|
||||||
RUN cd .. && chown -R www-data:www-data html
|
|
21
README.md
21
README.md
@ -17,10 +17,21 @@ Setup
|
|||||||
3. Run PHP composer to make sure all the dependencies are installed.
|
3. Run PHP composer to make sure all the dependencies are installed.
|
||||||
4. Create a SQL database.
|
4. Create a SQL database.
|
||||||
5. Copy settings.template.php to settings.php.
|
5. Copy settings.template.php to settings.php.
|
||||||
6. Add the correct database settings to settings.php.
|
6. Add the correct settings to settings.php:
|
||||||
7. Add API keys for third-party services to settings.php. You'll probably have to disable Munzee
|
* Plug in your database settings.
|
||||||
in the code2item.php file, as they don't give everyone capture permissions
|
* Contact us for an API key for the GIS API. The GIS server has a global
|
||||||
for their API. The Geocaching key isn't used for anything right now, leave it blank.
|
database of places and terrain. You could roll your own, but it's a lot to
|
||||||
8. Package the TerranQuest app with the URL of your server (see https://github.com/Netsyms/TerranQuest/issues/3).
|
work with (30GB database and counting).
|
||||||
|
* Add API keys for third-party services. You'll probably have
|
||||||
|
to disable Munzee in the code2item.php file, as they don't give everyone
|
||||||
|
capture permissions for their API. The DarkSky weather API is free for 1000
|
||||||
|
queries a day at darksky.net/dev (no credit card needed). The MapQuest key
|
||||||
|
is for adding location search on the admin panel, if you don't need that
|
||||||
|
don't use it. Ignore the Geocache key, it's not doing anything. Same for
|
||||||
|
the Google Play key, that's only for validating Android in-app purchases.
|
||||||
|
* Set an admin username and password, otherwise the admin interface won't work.
|
||||||
|
7. Go to yourserver.com/admin and login. If everything works, you should be good
|
||||||
|
to go.
|
||||||
|
8. On the login screen of the app, tap the gear and type your server URL.
|
||||||
|
|
||||||
[](https://www.codacy.com/app/netsyms/TerranQuest-GameServer?utm_source=github.com&utm_medium=referral&utm_content=Netsyms/TerranQuest-GameServer&utm_campaign=Badge_Grade)
|
[](https://www.codacy.com/app/netsyms/TerranQuest-GameServer?utm_source=github.com&utm_medium=referral&utm_content=Netsyms/TerranQuest-GameServer&utm_campaign=Badge_Grade)
|
Reference in New Issue
Block a user