Search This Blog

Showing posts with label run. Show all posts
Showing posts with label run. Show all posts

Wednesday, July 15, 2020

Thursday, May 28, 2020

Linux Ubuntu How to add Eclipse or Other Applications to Desktop Favourite or In Desktop Grid

1. create a file name with /usr/share/applications/filename.desktop extension
2. add the exec=, icon= key value in that file.
3. give the execute permission
4. click the Grid ::: in desktop, see your added .desktop application is will show. right click and select Add to favourite. 


ex 1:

#> gedit /usr/share/applications/eclipse.desktop

[Desktop Entry]
Comment=Eclipse
Terminal=false
Name=Eclipse
Exec=/media/drvijay/Eclipse-20/eclipse
Type=Application
Icon=/media/drvijay/Eclipse-20/icon.xpm
StartupWMClass=Eclipse


ex 2:
[Desktop Entry]
Comment=mapaint
Terminal=false
Name=mspaint
Exec=wine /home/drvijay/.wine/drive_c/windows/mspaint.exe
Type=Application
Icon=/home/drvijay/.wine/drive_c/windows/mspaint.jpeg
#StartupWMClass=mspaint

#run the below cmd for execute.

#> chmod a+x ~/.local/share/applications/.desktop

Thursday, August 8, 2019

AngularJS setup in Linux

1. Remove the older NPM / NODE / NG modules
    sudo apt purge ng-common ng-latin
    sudo apt purge node
    sudo apt purge npm
    sudo apt-get update

2. Install new version
     curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash - sudo 
OR
     curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash
      apt-get install -y nodejs
OR
     sudo apt-get update  
     apt-cache policy nodejs  
     sudo apt install nodejs
     sudo npm install -g @angular/cli

   npm --version
   node --version

3. Go to your folder
    npm install

4. type
    ng serve --host=ip

 OR to run in background
    nohup ng serve --host=ip &


RUN = http://ip:4200

Wednesday, October 7, 2015

Run Open ATNA, XDS, PixPdq Steps

Open ATNA
*********


1. Goto cmd
cd D:\works\BlueCap\POC\openatna\trunk\openatna\all\build

2. java -jar openatna-1.2.1-SNAPSHOT.jar

3. open jboss dev stuido workspace  D:\jbdevstudio\workspace\Blue-Cap\openatna
    run junit


Open XDS
********


1. goto cmd D:\works\BlueCap\POC\openxds\tags\build

2. java -jar openxds-1.0.jar

3. open jboss dev stuido workspace  D:\jbdevstudio\workspace\Blue-Cap
 run ProvideAndRegisterDocumentSetTest.java 


SRC Folder : D:\works\BlueCap\POC\openxds\tags\openxds-1.0-20100309\openxds-core\src\test\java\org\openhealthtools\openxds\integrationtests\

4. use test.properties to change the patient id and check that in personidentifier table in protgres



Open Pixpdq
***********


1. goto Tomcat6.0 and run with openpixpdq.war

2. http://localhost:8080/openpixpdq/
   goto configuration module/menu
   load file : D:\works\BlueCap\POC\openpixpdq\trunk\OpenPIXPDQ\conf\tests\actors\IheActors.xml
3. go down in the same page, select all the check box and give one log file path & save it

4. Go to other screens and test it
    Create a patient and see it in postgres openempi database person_identifier


or
simple open jboss dev stuido workspace  D:\jbdevstudio\workspace\open-pixpdq

FOLLOW 1,2 steps to start 3600 port for pix manager to run directly from IDE

open TestPixFeed.java
    & run junit
FOLDER: D:\works\BlueCap\POC\openpixpdq\trunk\OpenPIXPDQ\src\test\org\openhealthexchange\openpixpdq\ihe\impl_v2\

NOTE: open openpixpdq context , not in trunk, other wise you cannot see junit in right click run as-> junit



if you want to run with dynamically 100 port, such as 8080 to 8180 ....
 x:\>   standalone.bat -Djboss.server.default.config=standalone-full.xml -Djboss.socket.binding.port-offset=100

Hit Counter


View My Stats