Skip to content

acm-uiuc/pixel-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pixel-client

Simple frontend to interact with ACM Pixel

Stack Overview

Client Frontend: HTML, CSS, JS without any frameworks at the moment

Client Backend: Tornado webserver in python (Needed to forward terminal output via terminado)

Setup

Requirements: node.js, docker

./setup.sh

Running the server

# to build the application
docker build -t pixel-client .

# to build and run the application
docker build -t pixel-client .
docker run -v /var/run/docker.sock:/var/run/docker.sock -p 3000:80 pixel-client

Updating the server

# to build updated version
docker build -t pixel-client .

# to remove current container
docker rm -f pixel_client

# to run the new container
docker run -d -v /var/run/docker.sock:/var/run/docker.sock -p 3000:80 pixel-client

TODO: improve setup and allow for "watch" style builds and add a script that automatically does all of this