Skip to content

How to install and configure ?

Elikill58 edited this page May 3, 2022 · 2 revisions

Pre-requis

To install Positivity, there is some pre-requis:

  • Website server (apache/nginx/...)
  • PhP
  • PDO extension enabled in PhP config

Installation

  1. Get the Positivity's content by one of those way:
  • Download latest release here
  • Clone the git with git clone https://github.com/Elikill58/Positivity
  • Download the data here
  1. Put all content in your website folder (in /var/www/html by default, on linux).

Configuration

Now, go at http://your-website.com/config and config your server on a page like that:

image

The left column is for the database informations that should contains data.

The right column contains the web admin user, which will be able to manage the website, users etc.

About "on header" config (link/server name) are for this (on top left) :

image

In the screen, the example of "server name" is "Local". The objective is to set your server name instead of "Negativity" or something.

Everything done !

Re-installation

To re-install Positivity, you just have to remove the file include/settings.txt. You can also directly change it.

Warn: If you change the selected database to another one which didn't have a Positivty installation, you will have issues because users will not be added.

Clone this wiki locally