Sign inSign up

ahemid/newvocol

By ahemid

•Updated about 7 years ago

VoCol - Integrated Environment to Support Vocabulary Development with Version Control Systems

Image
1

10K+

ahemid/newvocol repository overview

#Run VoCol container and bind to port any port number of the host, in this example 8087 as a port number is used. You can also give a name for the container instead of "vocolContainer " in the following command:

(sudo) docker run -t --name vocolContainer -d -p 8087:80 ahemid/newvocol "/bin/bash" 

#Login to bash and start necessary services with indicating the container's name, "vocolContainer" is used in the coming command:

(sudo) docker exec -it vocolContainer bash
cd home/project/vocol
sh helper/scripts/resetApp.sh

#To start Fuseki or SPARQL-Endpoint Server which is running by default on 3030 port number, use the following commands:

cd helper/tools/apache-jena-fuseki
sh ../../scripts/run.sh

#To start VoCol, use the following command where the first number is the port number of VoCol and the last is Fuseki or SPARQL-Endpoint port number, but you can change to what fit at your organization or configuration.

// cd command to be on VoCol root path
cd ../../../  
npm start 80 3030

#If you have issues while starting VoCol or you need more explanation, please visit our GitHub repository at https://github.com/vocol/vocol⁠

#Configure VoCol according to your preferences by navigating to the following link: http://localhost:portNum/config⁠

Note: in order to allow automatic execution after each push to the repository, VoCol Container "must" be accessible from internet e.g. from Github to deliver the push event information using WebHook mechanism and PubSubHubBub protocol. As well, to connect to VoCol instance with WebHook, you will need a link to send push information. You can use the URL of your VoCol instance and add "/listener", as shown in the following line: http://[Domain-Name:Port-Number]/listener⁠

Tag summary

Content type

Image

Digest

Size

3.4 GB

Last updated

about 7 years ago

docker pull ahemid/newvocol