Phoenix is a web app to submit points to the Terms of Service; Didn't Read project. The template used is located here
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.
All the details on the database schema can be found on the wiki.
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 phoenix checked out next to tosdr-build in a folder: git clone https://github.com/tosdr/phoenix git clone https://github.com/tosdr/tosdr-build mkdir tosdr-build/src/pointsPhoenix cd phoenix sh ./db/download.sh sh ./db/export.sh # go look at the export results: cd ../tosdr-build 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-build as usual, see https://github.com/tosdr/tosdr-build#build: npm install ./node_modules/.bin/grunt
All the details on the API can be found on the wiki
- https://edit.tosdr.org (production) - Michiel's Heroku (other core developers have access too)
AGPL-3.0+ (GNU Affero General Public License, version 3 or later)