πŸ‘πŸ‘Ž A new web app to rate services
Switch branches/tags
459-export-rating 609-export-quoteDoc 201804-intro-message-points-index 201805-case-descriptions-old 201805-case-descriptions 201805-point-silent-fail 201805-recalculate-rating 201810-curator-pages 201810-implementing-table 201811-remove-privacy-related-from-topics aa-gem annotate-only-pending-approved annotate clarify-services doc-local-psql doc_revision-model enh/layout-changes-cards fix-accident fix/457 fix/460 fix/554 fix/561 fix/566 fix/573 fix/574 gems gitignore-dumps homepage hotfix-link-to-case implementing-cases-squashed implementing-cases link-to-annotate-view master michielbdejong-patch-1 michielbdejong-patch-2 mj-assign-case mj-browser-extension-workarounds mj-buildpacks mj-case-export mj-cases-per-topic mj-comment-on-point mj-comments mj-crawl mj-deprecate-point-adding mj-docker-download mj-document-data-copy mj-documents-model mj-email-notifs mj-error-reporting mj-export-fixes mj-export-points-in-situ mj-export-points-now mj-export-status mj-fetchDoc-once mj-fix-382 mj-fix-seed mj-generate-site mj-hotfix-doc-name mj-hotfix-homepage-cards mj-implementing-cases-no-migration mj-import-fixes mj-import-missing-services mj-import-missing mj-import-posts mj-longer-news-feed mj-more-missing mj-no-delete mj-no-quoteStart-found mj-no-self-approving mj-other-comments mj-page-titles mj-point-status-import mj-points-db-sync mj-points-table mj-post-import mj-post-migration mj-power-to-the-people mj-randomize-points-list mj-rating-only-on-approved-points mj-rating-system-rebased mj-reasons-to-comments mj-same-rating-system-as-site mj-service-domains-trim mj-services-export mj-tosback mj-various mj-welcome-email performance point-change rebase/201805-case-descriptions revert-186-mj-old-db-import test/models-points use-doc_revision versions-formatting-ux
Nothing to show
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
bin
config
db
lib
log
old_db
public
test/mailers/previews
.byebug_history
.gitignore
.ruby-version
CODE_OF_CONDUCT.md
CONTRIBUTING.md
Dockerfile
Gemfile
Gemfile.lock
INSTALL_linux.sh
INSTALL_mac.sh
LICENSE
PULL_REQUEST_TEMPLATE.md
Procfile
README.md
Rakefile
config.ru
docker-compose.yml
export.sh
package.json

README.md

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 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

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)