Skip to content

PTT Data Annotation system written by php, javascript, html and deploy on Heroku

Notifications You must be signed in to change notification settings

h30306/Annotation_system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Annotaion System for valence-arousal-irony

Introduction

This library implements Data Annotation System website used in paper to annotate three dimensional of sentiment

Related demo sites

Require

Start Up

  1. Launch Xampp App
  2. Go to Gerneral page and press start
  3. Go to Services page and press start all
  4. Go to Network page and press enable
  5. Go to Volumns page and press Mount
  6. Press Explore button
  7. Move this Annotation_system Under /htdocs/ or var/www/html/(For Linux Server)
  8. Enter this link in your browser : http://localhost:8080/phpmyadmin/ *Change port to which you start Apach server
  9. Create an empty Database named "VAI"
  10. Back to the Annotation_system folder and execute:
cd sql_processing
python ./sql_processing.py
  1. Enter this link in your browser : http://localhost:8080/annotation_system/ *Change port to which you start Apach server
  2. All done!

Deploy on Heroku

If you want to deploy on heroku, you can follow these steps!

  1. Signup in Heroku
  2. Install Heroku CLI
  3. Go to the Annotation_system folder
  4. execute
$ touch composer.json
$ vim composer.json

write these in composer.json
{
"require": {
"php": "7.2.28"
}
}

$ heroku create Project Name(Annotation_system)
$ git init
$ heroku git:remote -a Project Name(Annotation_system)

Then, Create "Procfile" with no filename extension, and it should look like this:

web: heroku-php-apache2

And then, uncomment out the first three lines in index.php

$ composer update
$ git add .
$ git commit -m 'v0.1'
$ git push heroku master
$ heroku open

About

PTT Data Annotation system written by php, javascript, html and deploy on Heroku

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published