Skip to content
Sends emails about changes on pages
PHP PLpgSQL XSLT Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
App
Tests
assets
docker
fixtures
log
migrations
temp
www
.gitignore
.travis.yml
README.md
active24.enc
appveyor.yml
build.xml
composer.json
deploy.php
phinx.sample.yml
phpstan.neon
ruleset.xml

README.md

Remembrall

Scrutinizer Code Quality Build Status Build status Coverage Status

What is it?

This is a simple project, which is built on my own created libraries, to prove myself, there is a different approach how to create applications. To better undestand the rules behind my libraries/applications, see my blog post

What it does?

Sends emails about changes on your subscribed pages. You type URL, CSS or XPath expression to observed part and interval for checks. In case of change, you are notified by email.

How to run it locally?

Clone

git clone git@github.com:klapuch/Remembrall.git

Dockerize

Start via docker compose:

cd Remembrall && docker-compose -p remembrall up -d

Configs

Basic config:

cp App/Configuration/.config.local.sample.ini App/Configuration/.config.local.ini, disable HTTPS features

Phinx config for migrations:

docker exec -i remembrall_php-fpm_1 cp phinx.sample.yml phinx.yml

Database

Create production database:

docker exec -i remembrall-postgres psql -U postgres -c "CREATE DATABASE remembrall"

Create test database:

docker exec -i remembrall-postgres psql -U postgres -c "CREATE DATABASE remembrall_test"

Import schema to production database:

cat fixtures/schema.sql | docker exec -i remembrall-postgres psql -U postgres -d remembrall

Import dump to production database:

cat fixtures/dump.sql | docker exec -i remembrall-postgres psql -U postgres -d remembrall

For signing in, password is heslo

Import schema to test database:

cat Tests/TestCase/schema.sql | docker exec -i remembrall-postgres psql -U postgres -d remembrall_test

Import PlPgUnit schema to test database:

cat Tests/TestCase/plpgunit.sql | docker exec -i remembrall-postgres psql -U postgres -d remembrall_test

Installation

Install all dependencies:

docker exec -i remembrall_php-fpm_1 composer install

Run linting, migrations and initialize assets:

docker exec -i remembrall_php-fpm_1 vendor/bin/phing init

You can’t perform that action at this time.