GithubHelp home page GithubHelp logo

cmpshelld's Introduction

C++ metaprogramming shell daemon

This repository contains a setup script for the Metashell and Preshell online demos on an Ubuntu server. You can use it to host your own online demo of the shells.

Setting your server up

  • Install Ubuntu server 14.04

  • Download the content of this repository

  • Run install.sh. This will install the dependent packages, create the daemons and start them.

  • The Metashell demo will be listening on port 4202

  • The Preshell demo will be listening on port 4201

  • The demos use ShellInABox, which gets installed on your server and is listening on port 4200 by default. To stop it run sudo /etc/init.d/shellinabox stop. To avoid it being started during system startup run sudo update-rc.d shellinabox disable

The services providing the demo

The demo is provided by three services:

  • metashell This is a ShellInABox service running Metashell as its shell.
  • preshell This is a ShellInABox service running Preshell as its shell.
  • shell_demo This is a service periodically updating the C++ headers which can be used from the services and building the latest version of Preshell and Metashell.

The services are using the /usr/local/share/shell_demo directory for downloading the source code of different projects (Metashell, Preshell, libraries that can be used from the shell) and building the Metashell and Preshell binaries.

Starting the demos

The installer configures the demos to be automatically started during system startup. To start them manually run the following commands:

sudo /etc/init.d/shell_demo start
sudo /etc/init.d/preshell start
sudo /etc/init.d/metashell start

Stopping the demos

To stop the demo, you need to stop the three services providing it:

sudo /etc/init.d/shell_demo stop
sudo /etc/init.d/preshell stop
sudo /etc/init.d/metashell stop

cmpshelld's People

Contributors

r0mai avatar sabel83 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.