https://github.com/tosdr/CrispCMS
This Repository is archived in favor ofEverything has been moved there!
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.
Personal information
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.
Clone this repository
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.
Build
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 install
in 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
grunt
or./node_modules/.bin/grunt
in 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 install
in 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 compile
in 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 install
in 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 compileandpublish
in the root of this repository
Develop other applications
API: http://www.tosdr.org/api.html
Also have a look at other apps, like the browser extensions: https://github.com/tosdr
Core developpers
Hosting
People who have access to the hosting:
License
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.