README.md 1.7 KB
Newer Older
1 2 3
Poduptime


David Morley's avatar
David Morley committed
4
Dependencies:  
5 6 7 8 9 10 11 12 13
php7.0 php7.0-curl php7.0-pgsql php-geoip php7.0-cli php7.0-common php7.0-json php7.0-readline
git
curl
postgresql postgresql-contrib
wget
dnsutils
npm
nodejs nodejs-legacy

David Morley's avatar
David Morley committed
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
To Install:  
git clone https://github.com/diasporg/Poduptime.git  
cd Poduptime  
sudo npm install -g bower  
bower install  
cp config.php.example config.php  

If you need to setup your Postgresql/DB:  
  sudo adduser podupuser  
  sudo -u postgres bash -c "psql -c \"CREATE USER podupuser WITH PASSWORD 'MYpassword';\""  
  sudo -u postgres bash -c "psql -c \"CREATE DATABASE podupdb;\""  
  sudo -u postgres bash -c "psql -c \"GRANT ALL PRIVILEGES ON DATABASE podupdb TO podupuser;\""  
  sudo nano /etc/postgresql/vx.x/main/pg_hba.conf 
  update your local line to allow md5 METHOD  
  restart postgresql  
  
psql -u podupuser podupdb < db/tables.sql  
  
edit config.php with your DB and file settings  
33 34


krishna's avatar
krishna committed
35 36
============================

David Morley's avatar
1st  
David Morley committed
37 38
Source for http://podupti.me

krishna's avatar
krishna committed
39 40
  Poduptime is software to get live stats and data on listed Diaspora Pods.
  Copyright (C) 2011 David Morley
41

krishna's avatar
krishna committed
42 43 44 45
  This program is free software: you can redistribute it and/or modify
  it under the terms of the GNU Affero General Public License as
  published by the Free Software Foundation, either version 3 of the
  License, or (at your option) any later version.
46

krishna's avatar
krishna committed
47 48 49 50
  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU Affero General Public License for more details.
51

krishna's avatar
krishna committed
52 53
  You should have received a copy of the GNU Affero General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.