/edit.tosdr.org

👍👎 A new web app to rate services

Primary LanguageRubyGNU Affero General Public License v3.0AGPL-3.0

Phoenix

Heroku

Phoenix is a web app to submit points to the Terms of Service; Didn't Read project. The template used is located here

Development

The app was developped with Ruby on Rails 5.1.4 and Ruby 2.3.5. The database uses PostgreSQL. You must have those if you want to run the app.

Please refer to the CONTRIBUTING.md guide for more information. If anything is missing, please let us know.

Database

All the details on the database schema can be found on the wiki.

Export

Careful! The postgres database dumps produced during this process contain user accounts that should be kept secret. Never commit a database dump to git, or share it with someone who does not also have access to our Heroku account!

# make sure you have edit.tosdr.org checked out next to tosdr.org in a folder:
git clone https://github.com/tosdr/edit.tosdr.org
git clone https://github.com/tosdr/tosdr.org
mkdir tosdr.org/src/pointsPhoenix
cd edit.tosdr.org
sh ./db/download.sh
sh ./db/export.sh

# go look at the export results:
cd ../tosdr.org
mv src/points src/pointsOld
mv src/pointsPhoenix src/points
mkdir src/pointsPhoenix

# notice some json formatting differences which will be undone again by grunt later:
git diff

# then build tosdr.org as usual, see https://github.com/tosdr/tosdr.org#build:
npm install
./node_modules/.bin/grunt

API

All the details on the API can be found on the wiki

Core developers

Hosting

License

AGPL-3.0+ (GNU Affero General Public License, version 3 or later)