Christoffel-Symbols-Calculator Team - 2024-2025
This project is under development!
Brief walkthrough on how to locally prepare the PyCSC GUI
in a Docker container.
-
Download the git repo:
git clone https://github.com/Christoffel-Symbols/Christoffel-Symbols-Calculator-frontend.git
-
Change the present working directory to
frontend
and run the following:npm install npm run build
-
Ensure you have Docker installed and running in the background.
-
After cloning the Christoffel-Symbols-Calculator-frontend repository, you will need to build the docker image. This can be done by setting the
RUN
variable to true and then passing./build.sh
command from the repository-level directory. -
Access the Christoffel-Symbols-Calculator GUI instance via localhost port 5000.
-
Once you're done using the GUI, close the window and run the following commands:
docker ps # This will help you find the CONTAINER ID corresponding to the running instance of castor_etc_gui_v<VERSION> Docker image docker stop <CONTAINER ID> # Stops the container docker rm <CONTAINER ID> # Removes the container docker images # Once you have stopped and removed the container, find the IMAGE ID of the castor_etc_gui_v<VERSION> Docker image docker image rm <IMAGE ID> # Removes the Docker image
where
<VERSION>
is some string like23.11.13.1359
. You can also check the version number by looking at the last line of the output from./build.sh
, which should say something like "DONE! Access the pycsc_gui_v23.11.13.1421 instance via localhost port 5000.".
Please reach out if you have any questions about this, either through email ([email protected]) or the discussions page.