Giter VIP home page Giter VIP logo

pgsswebadmin's Introduction

PGSSWebAdmin

PGSSWebAdmin is a Web Admin tool for PGSS that allows submitting and monitoring of Pokemon- and Gym-Images, monitoring of Devices and viewing of Logs.

Run PGSSWebAdmin on the same server where the raidnearby processes are running at. (+ crop if you want the Devices feature to work proberly)

Getting Started

MacOS

Apache and PHP are preinstalled on MacOS

  • Go Into the Apache Directory cd /etc/apache2/

  • Copy the defailt config file (skip if there is a httpd.conf already) ``cp httpd.conf httpd.conf.sierra```

  • Edit the config file nano httpd.conf

    • Uncomment LoadModule phpx_module ...
    • Uncomment LoadModule rewrite_module ...
    • find AllowOverride None in <Directory "/Library/WebServer/Documents">...</Directory> and change it to: AllowOverride All
    • find Require all denied in <Directory "/Library/WebServer/Documents">...</Directory> and change it to: Require all granted
  • Go into the WebRoot Directory cd /Library/WebServer/Documents

  • Delete every file in there if they are not needed any more rm -r /Library/WebServer/Documents/*

  • Clone the repository git clone https://github.com/123FLO321/PGSSWebAdmin /Library/WebServer/Documents/

  • Copy the example config cp config.example.php config.php

  • Edit config nano config.php

  • (Re)Start apache apachectl restart

  • PGSSWebAdmin should now be runnin on that machine (From same machine: http://localhost, From other machine: http://machine-ip)

If you get permission errors go to the RDRM folder in Finder and open the info window for PGSS (rightclick -> Information). Now under Share & Accesrights change everyone to Read & Write.

Linux

  • Install NGINX and PHP7 debian / ubuntu:
sudo apt update 
sudo apt upgrade
sudo apt install php7.0 php7.0-fpm php7.0-mysql mysql-server
  • Clone the project
cd /opt
git clone https://github.com/123FLO321/PGSSWebAdmin.git
cp config.example.php config.php
  • Edit your config.php to match your pgss install dir and database with your favourite editer. vi config.php
cp example.nginx.conf /etc/nginx/sites-available/pgsswebadmin.conf
ln -s /etc/nginx/sites-available/pgsswebadmin.conf /etc/nginx/sites-enabled/pgsswebadmin.conf
  • Edit your pgsswebadmin.conf to match root dir of PGSSWebAdmin root /PATH/TO/PGSSWebAdmin;
  • Check nginx syntax with nginx -t
  • If it returns nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
  • Reload nginx to activate the website nginx -s reload
  • PGSSWebAdmin should now be runnin on that machine (From same machine: http://localhost, From other machine: http://machine-ip)

pgsswebadmin's People

Contributors

123flo321 avatar jepke avatar chuckleslove avatar gbballpack avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.