Skip to content
/ scamp Public
forked from gudtech/scamp

Single Connection Asynchronous Multiplexing Protocol and Service Oriented Architecture

License

Notifications You must be signed in to change notification settings

xrl/scamp

 
 

Repository files navigation

SCAMP

Single Connection Asynchronous Multiplexing Protocol

Setup

Setup config and keys for helloworld

sudo mkdir /etc/SCAMP
sudo chown $USER /etc/SCAMP
sudo mkdir /var/log/scamp
sudo chown $USER /var/log/scamp
sh scripts/init-system-config
sh scripts/provision-soa-service helloworld main

Node dependencies

npm install

Run Hello World

node js/script/cache-manager.js
node examples/hello_world_service.js
node examples/hello_world_service.js

Using Vagrant with VirtualBox Provider

Prerequisites:

Note: brew cask is a good option for managing the installation of Vagrant and VirtualBox.

Initializing the VM:

vagrant init chef/centos-6.6; vagrant up --provider virtualbox

Note: VMWare Fusion is a fully supported provider for Vagrant. Please feel free to provide documentation for its setup.

The vagrant image is provisioned through a shell script. An inline bash script found in this project's Vagrantfile. The script will install basic dependencies for running scamp. To rerun the provisioning script on a running vagrant instance: vagrant provision.

Logging in to the VM:

vagrant ssh

The vagrant user has sudo.

Note: You will find this code synced to /vagrant.

About

Single Connection Asynchronous Multiplexing Protocol and Service Oriented Architecture

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Perl 36.2%
  • JavaScript 32.7%
  • C# 29.2%
  • Shell 1.1%
  • Other 0.8%