A web app to submit and review points about services for http://tosdr.org.
Written in JavaScript with help of the meteor framework (https://www.meteor.com).
Data is saved in a MongoDB.
Highly experimental, incomplete, insecure and not scalable.
But a great start for 21 working hours :-)
Install meteor:
curl https://install.meteor.com/ | sh
Cd into the project root directory (where this README is located) and enter:
meteor
Open [http://localhost:3000] (http://localhost:3000) in your browser.
You need to sign in to see something interesting. You can sign in/up yourself with the menu in the top right corner. Email addresses are currently not verified and "Forgot password ?" does not work.
The most functionality is hidden from normal users. Therefore you need to make one user to a moderator in order to see all functionality.
First you need to open the mongo shell in parallel to the running meteor app.
meteor mongo
Then you need to find the correct user id and add the role
db.users.find().pretty() // find _id
db.users.update({_id: 'USER_ID'},{$set: {roles: {moderator: true}}})
db.users.find().pretty() // should have roles attribute now
You can get the user of the current logged in user also in the browsers console by
Meteor.userId()
apt-get install mongodb-clients)git clone https://github.com/tosdr/tosdr-build.tools/import.sh
There are 2 ENV variables that might need to be set up for development environment:
MONGO_SERVER=127.0.0.1:3001 TOSDR_BUILD_DIR='/path/to/tosdr-build' .tools/import.sh
As moderator you can export (=publish) points, services and topics to the file system. Currently it's written to '/tmp/tosdr'. The exported files should be compatible with the one imported from tosdr-build.
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.
Content type
Image
Digest
sha256:6e4e1269f…
Size
153.1 MB
Last updated
over 10 years ago
docker pull pierreozoux/tosdr2