This Repository is archived in favor of https://github.com/tosdr/CrispCMS
This is the source code for www.tosdr.org. You should find more information about the project itself on the website.
The data specification is available on the wiki.
This repo might contain information that was not intended to be public. In that case, please open a PR here or send us an email at team at tosdr dot org.
There are git submodules in this repository. To automatically have them all, clone this repository with the git clone --recursive option.
Alternatively, run git submodule init and git submodule update to pull in the submodules.
Most of the website's source files are located in the src/ directory (although unfortunately some of it is still intermingled with the build files).
To build:
- Run
npm installin the root of this repository to make sure you have the required packages. - Make the changes you wish to make to the source files in this repository.
- Run
gruntor./node_modules/.bin/gruntin the root of this repository. - Check whether the output in the dist/ directory is looking as intended.
- cp -r api/ dist/ . (needed for https://github.com/duckduckgo/duckduckgo-privacy-extension)
- Commit and push to github.
- To publish the new version of the website, assuming you have 5apps set up as a remote, run
git subtree push --prefix dist 5apps master. But be careful: this updates the live site! Ask @hugoroy or @michielbdejong if you don't have permission
Using npm to build:
- Run
npm installin the root of this repository to make sure you have the required packages. - Make the changes you wish to make to the source files in this repository.
- Run
npm run compilein the root of this repository - Check whether the output in the dist/ directory is looking as intended.
- Commit and push to github using
npm run publish
Using npm to build and publish in one command:
- Run
npm installin the root of this repository to make sure you have the required packages. - Make the changes you wish to make to the source files in this repository.
- Run
npm run compileandpublishin the root of this repository
API: http://www.tosdr.org/api.html
Also have a look at other apps, like the browser extensions: https://github.com/tosdr
People who have access to the hosting:
AGPL-3.0+ (GNU Affero General Public License, version 3 or later)
See https://tosdr.org/legal.html for more details on the legal aspects of the project.