Website: https://matrixstats.org
Matrix room: #matrixstats:matrix.org
Screenshots:
- python 3.6+
- postgresql 10.0+
Clone the repository:
https://github.com/a13xmt/matrixstats.org.git
Install all the project requirements via pip:
pip install -r source/requirements.pip
(optional) use virtualenv and python-virtualenvwrapper for installation
Open the postgres shell via psql
and run the following:
CREATE DATABASE matrixstats;
CREATE USER matrixstats WITH PASSWORD 'matrixstats';
GRANT ALL PRIVILEGES ON DATABASE matrixstats TO matrixstats;
Fill environment template with your own settings:
vi source/matrix_stats/settings/env_template
Activate the environment file:
set -a
source source/matrix_stats/settings/env_template
set +a
(optional) add this code to virualenv postactivation hooks /home/<user_name>/.virtualenvs/<env_name>/bin/postactivate
Apply database migrations:
python manage.py migrate
Run development server, listening on http://127.0.0.1:8000
python manage.py runserver
(optional) Add admin account via python manage.py createsuperuser
with admin page on http://127.0.0.1:8000/admin/
Some ratings (7/30/90 days based) may work weird on development server due to lacking statistical data. It's OK if there are some empty widgets on the main page.