Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wavesoft/cernvm-webapi
CernVM WebAPI Based on URI-Handlers
https://github.com/wavesoft/cernvm-webapi
Last synced: 2 months ago
JSON representation
CernVM WebAPI Based on URI-Handlers
- Host: GitHub
- URL: https://github.com/wavesoft/cernvm-webapi
- Owner: wavesoft
- License: gpl-3.0
- Created: 2014-04-11T12:28:26.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-10-30T14:40:34.000Z (about 9 years ago)
- Last Synced: 2023-03-13T20:41:02.945Z (almost 2 years ago)
- Language: JavaScript
- Size: 3.12 MB
- Stars: 7
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
README
cernvm-webapi
=============CernVM WebAPI Based on URI-Handlers
Visit the wiki page for tutorials and more information : [https://github.com/wavesoft/cernvm-webapi/wiki](https://github.com/wavesoft/cernvm-webapi/wiki)
Building
========The __cernvm-webapi__ installation scripts can automatically build all the required dependencies for the project. Hoever in order to be able to build all the components you are going to need the following packages installed:
* GCC 4.7 or later (requires C++11 support)
* CMake 2.8.10 or laterYou are also going to need the __libcernvm__ project from this repository.
If you are using a decently recent linux installation, you can use the following:
sudo apt-get install build-essential cmake devscripts libicu-dev
Assuming that you have all the required dependencies in place you can prepare your build folder. There are various preparation scripts in the project root:
* __prepare-linux32__ : Build the 32-bit linux version
* __prepare-linux64__ : Build the 64-bit linux version
* __prepare-vs2012-vt100_xp.bat__ : Build the 32-bit windows version with the VT100 (windows XP) toolchain
* __prepare-osx-10.7__ : Build the 64-bit OSX version using the 10.7 toolchain
* __prepare-osx-10.8__ : Build the 64-bit OSX version using the 10.8 toolchainHere is a step-by step guide for building cernvm-webapi:
mkdir cernvm
git clone https://github.com/wavesoft/cernvm-webapi
cd cernvm-webapi
git submodule init
git submodule updateAccording to your system, (here for 64-bit linux)
./prepare-linux64
cd build_linux_64
makeIn a few minutes and if everything works as expected you will have the **cernvm-webapi** binary in the build folder.
API migration notes from 1.x
============================* The ```CVM.requestSession``` function does not accept the third parameter any more
* The session state codes have changed
* The event ```sessionStateChanged``` is renamed to ```stateChanged```
* The following events are removed: ```error```, ```open```, ```openError```, ```started```, ```startedError```
* The event ```apiAvailable``` and ```apiUnavailable``` replaced with event ```apiStateChanged```