Looking for changes on website content https://projet-alice-demo.herokuapp.com/diffs/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.5 KiB

4 years ago
# Alice
Alice is a tool to monitor changes on websites.
It's a [Ruby on Rails](https://rubyonrails.org/) application, using [PostgreSQL](https://www.postgresql.org/) for storage.
Website to monitor can be configured to check only part of the content, based on text search or CSS selector.
It was initially developped to help [Projet Arcadie](https://projetarcadie.com/) to track declaration of assets or parliamentary assistants of French politicians.
It's released under [AGPLv3](https://www.gnu.org/licenses/agpl-3.0.en.html) license.
4 years ago
You can see a demo in action [here](https://projet-alice-demo.herokuapp.com/diffs/).
4 years ago
# Setup
It's just a plain old RoR application, so standard RoR deployment 😊
export RAILS_ENV=production
rails assets:precompile
rails db:migrate
rails server
You also need to setup a daily cron on `./bin/cli.rb check`
Config modifications are restricted to admin people by a password protection.
So you need to set environment variable with admin username (`LOGIN_USERNAME`) and password (`LOGIN_PASSWORD`).
You can do this on the `.env.production` file (managed by [`dotenv-rails`](https://github.com/bkeepers/dotenv)).
# Contributors
* [aeris](https://imirhil.fr/)
* [norore](https://norore.fr/)
Favicon is made by [Pixel Perfect](https://www.flaticon.com/authors/pixel-perfect) and released under [Flaticon Basic License](https://file000.flaticon.com/downloads/license/license.pdf)
We use [![BrowserStack](https://i.imgur.com/ZQsHeQV.png)](https://www.browserstack.com/) for UI testing on different browsers and devices.