Giter Club home page Giter Club logo

cppteach's Introduction

CppTeach

Source codes and tools for C/C++ teaching.

Contents

  1. src: example source codes for teaching
  2. serv: web server for display data for projects
  3. Dockerfile: docker image builder for develop environment and web server.

Docker Usages

For Development

  1. Install docker in computer: Docker Tutorial
  2. Build/download docker image: docker build -t="yourname/cpplearn" . (in src) or docker pull ghzuo/cppteach
  3. Start new container from image: docker run --name cpplearn -it -v $PWD/demo:/root/demo yourname/cpplearn
  4. Start an existed container: docker start -i cpplearn
  5. Exit and stop container: exit in docker terminal
  6. Exit container without stop: Ctrl-P-Q
  7. Attach a running container: docker attach cpplearn

For Plot Server

  1. Build/download docker image: docker build -t="yourname/cppserv" . (in serv) or docker pull ghzuo/cppserv
  2. Start new container from image: docker run --name cppserv -p 8080:80 yourname/cppserv &
  3. Start an existed container: docker start cppserv
  4. Stop a running container: docker stop cppserv
  5. Brown webserver by url "localhost:8080"
  6. A better method for plot is jupyter-notebook

Suggestion

  1. Vscode + Docker + Remote Development: support manage docker and remote develop in Container/SSH

Todo

  1. Revise the display server by Cling-jupyter
  2. Including the source code into jupyter notebook

cppteach's People

Contributors

ghzuo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.