Giter Club home page Giter Club logo

dev-docker's Introduction

dev-docker

a Docker container which builds course materials and can run local copy of website

The container needs top be run with a directory mounted which contains the course-materials repo in the sub-directory private , e.g.

$ mkdir /tmp/my_dev
$ git clone --recursive [email protected]:COMP1511UNSW/course_materials.git /tmp/my_dev/private
$ docker run -it -v /tmp/my_dev:/home/cs1511/public_html/$00T0/ -p 5000 --tmpfs /tmp comp1511/dev

Command that can be run in container

scripts/build                                # build all course materials	
flask/webpages.py 0.0.0.0					 # run website on localhost
printf '#include <stdio.h>\nint main(void) {printf("Hello, it is good to C you!\\n");}' >bad_pun.c
1511 autotest bad_pun                        # run autotest
1511 autotest -a private/activities/bad_pun  # run autotest being developed 

To container should already be available as comp1511/dev, to rebuild:

docker build -t comp1511/dev https://raw.githubusercontent.com/COMP1511UNSW/dev-docker/main/Dockerfile

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.