This repository is for the work on the web interface to annotate images.
It is built on MEANJS stack https://github.com/meanjs/mean
Example tools that may be relevant:
Annotating image regions: http://annotorious.github.io/demos.html
Backup database (do that periodically and before any server restarts/docker changes)
Restore database
Process of porting the database
[user_id], [port] and [container_name].docker run -d
-v /data/icputrd/arf/mean.js/public/2015:/opt/mean.js/public/2015 \
-v /data/icputrd/arf/mean.js/public/2016:/opt/mean.js/public/2016 \
-v /data/icputrd/arf/mean.js/public/2014:/opt/mean.js/public/2014 \
-v /data/icputrd/arf/mean.js/public/2013:/opt/mean.js/public/2013 \
-v /data/icputrd/arf/mean.js/public/2012:/opt/mean.js/public/2012 \
-v /data/icputrd/arf/mean.js/public/2011:/opt/mean.js/public/2011 \
-v /data/icputrd/arf/mean.js/public/2017:/opt/mean.js/public/2017 \
-v /data/icputrd/arf/mean.js/public/sara_img:/opt/mean.js/public/sara_img \
-v /data/icputrd/arf/mean.js/public/:/opt/mean.js/public/ \
-v /data/icputrd/arf/mean.js/public/js:/opt/mean.js/public/js \
-v /data/icputrd/arf/mean.js/public/css:/opt/mean.js/public/css \
-v /home/[user_id]:/home/[user_id] -p [port]:22 \
--name [container_name] \
--link dbNew:dbNew \
icputrd/platform /bin/startsvc.sh [user_id]
id_rsa.pub to ~/.ssh/authorized_keys for authorization.ssh-keygen. Once it completes, it should produces the id_rsa.pub and id_rsa files inside your ~/.ssh/ folder.id_rsa.pub and id_rsa files inside your some_location/.ssh/ folder (Note: some_location should be displayed at the end of the ssh-keygen process)icputrd.bat; save it on Desktop/ for convenience. (information about batch file in Windows 10)@echo off
set url="http://localhost:3000"
start chrome %url%
<# You could open with different browsers #>
<# start iexplore.exe %url%
start firefox.exe %url%
start microsoft-edge:%url% #>
<# Powershell.exe ssh da1p #>
Powershell.exe -WindowStyle Minimized ssh da1p
pause
Copy and paste the public key into this form.
Your id_rsa.pub is needed for setting up the connection. To see the public key, simply run cat ~/.ssh/id_rsa.pub.
Set up your ~/.ssh/config file so that you can login to one of the da servers without having to fully specify the server name each time. Simply copy the content below to ~/.ssh/config.
Host *
ForwardAgent yes
host da1p
hostname da1.eecs.utk.edu
identityfile ~/.ssh/id_rsa
# identityfile C:\Users\Windows_user_name/.ssh/id_rsa // Windows user may have something like this
user [user_id_on_server]
Port [port]
LocalForward 3000 127.0.0.1:3000
ssh da1p to connectContent type
Image
Digest
Size
582.2 MB
Last updated
about 5 years ago
docker pull audris/platform