Giter Site home page Giter Site logo

albertjuhe / annotator_nodejs_store Goto Github PK

View Code? Open in Web Editor NEW
16.0 16.0 8.0 5.83 MB

Annotation application with annotatorjs and nodejs, with users, roles, import/ export files and search capabilities.

License: Other

JavaScript 52.20% CSS 35.62% HTML 12.18%

annotator_nodejs_store's People

Contributors

albertjuhe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

annotator_nodejs_store's Issues

Edit/Delete Annotations on Touch Screen

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,

configuraation annotator on xampp/wammp ?

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

error message "Sorry we could not create this annotation"

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.

Annotator package with NO npm ?

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

It might be easier to install dependencies by listing them in the package.json

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

npm install problem

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>

Annotatorjs highlighting touch/mobile

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.