albertjuhe / annotator_nodejs_store Goto Github PK
View Code? Open in Web Editor NEWAnnotation application with annotatorjs and nodejs, with users, roles, import/ export files and search capabilities.
License: Other
Annotation application with annotatorjs and nodejs, with users, roles, import/ export files and search capabilities.
License: Other
Hey Albrert,
Thanks for improving the default annotator to such extent. I am using viewer on touch screen and creating annotations works like a charm. However, there is no way to edit/delete annotations on the annotation view panel. I was wondering if there is any plan to implement this functionality?
Best,
Add a tynimce to the Annotator Editor.
This could be useful for a new annotations signal panel
nodejs is web server itself and xampp/wampp are web servers as well. Why we nee to install two web servers? When the annotator is configured on node.js it can be used on http://localhost:3000/annotation/testuser/demo.html. Do we really need x|wammp as described in the instructions "This aplication uses MySQL and Apache 4.2.2, you need to install Xampp [https://www.apachefriends.org/index.html], Wampp [http://www.wampserver.com/en/], or similar software. Xampp and Wampp installs Apache, MySQL, PHP, phpMyAdmin and Perl." ?
What are the configuration changes need to be done to use x|wammp? Could you advise step-by-step?
thanks
It seems like the annotations can not be stored in mySQl database.
here is the config.json:
{
"materials": "http://localhost/annotation/",
"server": "localhost",
"user": "myuser",
"password": "mypassword",
"database": "test",
"database_port":3306,
"connectionLimit":10,
"port": 3000
}
mysql works fine and I can connect to database "test" from command line. All tables have been created according to the installation guidelines. node started the application on port 3000 successfully. What's wrong?
I have tried to open in http://10.xx.xx.xx/annotation/demo.html in firefox (or http://localhost/..) and I can annotate the test but I can not save them to database.
Hi,
is it possible to publish zip-ed bundle to download and extract all modules locally. npm is sucks. I ave tried to configure Annotator with npm spending all day, no way. Could you please publish the zip-ed (..and I hope and tested) bundles for Windows and Linux? Then people can download and install lovely Annotator in minutes instead of trying to setup all proxies and all other nightmare.
Regards
For the record, after installing most dependencies as --save
with npm, my local package.json looked like follows:
{
"name": "html5App",
"version": "1.0.0",
"dependencies": {
"bcrypt-nodejs": "0.0.3",
"connect-flash": "^0.1.1",
"express": "3.x",
"express-namespace": "^0.1.1",
"hashids": "^1.0.1",
"i18n": "^0.5.0",
"log4js": "^0.6.26",
"multer": "^0.1.8",
"mysql": "*",
"nano": "*",
"passport": "^0.2.2",
"passport-local": "^1.0.0",
"pdfkit": "^0.7.1",
"request": ">0.2.0",
"sax": "0.3.x",
"socket.io": "^1.3.5",
"underscore": "^1.8.3",
"wkhtmltopdf": "^0.1.5"
},
"scripts": {
"start": "node app.js"
}
}
installed the latest nodejs and npm on Linux RH and Windows 2008. Then followed to the instructions how to installed the modules for Annotator but there is the error message for both installations - (on W & L). Are there any suggestions?
C:\AppServers\nodejs\annotator_nodejs_store>npm install express --save
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\AppServers\nodejs\node.exe" "C:\AppServers\nodejs\node
_modules\npm\bin\npm-cli.js" "install" "express" "--save"
npm ERR! node v0.12.5
npm ERR! npm v2.11.2
npm ERR! file C:\AppServers\nodejs\annotator_nodejs_store\package.json
npm ERR! code EJSONPARSE
npm ERR! Failed to parse json
npm ERR! Unexpected token ':' at 1:7
npm ERR! "name": "html5App",
npm ERR! ^
npm ERR! File: C:\AppServers\nodejs\annotator_nodejs_store\package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR!
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse
npm ERR! Please include the following file with any support request:
npm ERR! C:\AppServers\nodejs\annotator_nodejs_store\npm-debug.log
C:\AppServers\nodejs\annotator_nodejs_store>
On mobile, the js doesn't work when you try to annotate by highlighting more than one word (e.g. multiple words, a sentence, or paragraph). Do you have a fix for that?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.