-
Notifications
You must be signed in to change notification settings - Fork 0
JForden/AutoTA
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Welcome to TA-Bot! Sorry about the brevity of this ReadMe for now, but there will be more to come in the future. In the meantime, you can check out the current state of TA-Bot at http://tabot.sh. :warning: Known Issue: There is currently a bug that prevents yarn from working in our Docker container. :bulb: Workaround for Windows Users: To run the TA-Bot Docker development environment on Windows, you will need to install WSL2 (which is required for Docker) and a Linux environment of your choice (e.g. Ubuntu). Follow the steps at https://ubuntu.com/tutorials/install-ubuntu-on-wsl2-on-windows-10#1-overview to set this up. Then, follow the steps below to run TA-Bot. :rocket: Steps to Running the TA-Bot Docker Development Environment: 1. Clone the repository. 2. Navigate to the /ui directory. 3. Run yarn install. 4. Download and install Docker. Note for WSL Users: If you are using WSL, follow the instructions at https://medium.com/geekculture/run-docker-in-windows-10-11-wsl-without-docker-desktop-a2a7eb90556d to install Docker in your WSL environment. Note for WSL Users: To enable port forwarding from the WSL environment to your localhost, follow the instructions at https://dev.to/vishnumohanrk/wsl-port-forwarding-2e22 Note: Make sure to edit the shell script to include 3000 5. cd into the ta-bot directory, run: "git submodule update --init --recursive" 6. Run `docker compose up` from the main directory. The Development environment should now be up on localhost:3000 Thanks, TA-Bot Team Adding a language to the running piston env: cli/index.js ppman install java --piston-url "http://127.0.0.1:9000"0.1:9000" cli/index.js run gcc hello.c --piston-url "http://127.0.0.1:9000" Pushing a new image: Get a github personal access token (PAT) export CR_PAT=<github personal access token> echo $CR_PAT | docker login ghcr.io -u USERNAME --password-stdin cd into the frontend/backend directory docker build -f Dockerfile.prod -t ghcr.io/musyslab/tabot-<frontend/backend>:v<VERSION_NUMBER>-tbs-research . docker push ghcr.io/musyslab/tabot-backend:v<VERSION_NUMBER>-tbs-research edit docker.yaml sudo service tabot stop sudo service tabot start
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Packages 0
No packages published