From 8a664cb3ef91673d8eb2f35f82f9a361cda264b4 Mon Sep 17 00:00:00 2001 From: Frank Xu Date: Thu, 2 Nov 2023 14:54:27 -0400 Subject: [PATCH] add gitlab url change fix --- environment_docker/README.md | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/environment_docker/README.md b/environment_docker/README.md index 78a6126..446bda3 100644 --- a/environment_docker/README.md +++ b/environment_docker/README.md @@ -5,9 +5,9 @@ This REAME file host the instructions for our Docker images and quick start guid ## Shopping Website (OneStopShop) Download the image tar from the following mirrors: -https://drive.google.com/file/d/1gxXalk9O0p9eu1YkIJcmZta1nvvyAJpA/view?usp=sharing -https://archive.org/download/webarena-env-shopping-image -http://metis.lti.cs.cmu.edu/webarena-images/shopping_final_0712.tar +- https://drive.google.com/file/d/1gxXalk9O0p9eu1YkIJcmZta1nvvyAJpA/view?usp=sharing +- https://archive.org/download/webarena-env-shopping-image +- http://metis.lti.cs.cmu.edu/webarena-images/shopping_final_0712.tar ``` docker load --input shopping_final_0712.tar @@ -24,9 +24,9 @@ Now you can visit `http://:7770`. ## E-commerce Content Management System (CMS) Download the image tar from the following mirrors: -https://drive.google.com/file/d/1See0ZhJRw0WTTL9y8hFlgaduwPZ_nGfd/view?usp=sharing -https://archive.org/download/webarena-env-shopping-admin-image -http://metis.lti.cs.cmu.edu/webarena-images/shopping_admin_final_0719.tar +- https://drive.google.com/file/d/1See0ZhJRw0WTTL9y8hFlgaduwPZ_nGfd/view?usp=sharing +- https://archive.org/download/webarena-env-shopping-admin-image +- http://metis.lti.cs.cmu.edu/webarena-images/shopping_admin_final_0719.tar ``` docker load --input shopping_admin_final_0719.tar @@ -43,9 +43,9 @@ Now you can visit `http://:7780/admin`. ## Social Forum Website (Reddit) Download the image tar from the following mirrors: -https://drive.google.com/file/d/17Qpp1iu_mPqzgO_73Z9BnFjHrzmX9DGf/view?usp=sharing -https://archive.org/download/webarena-env-forum-image -http://metis.lti.cs.cmu.edu/webarena-images/postmill-populated-exposed-withimg.tar +- https://drive.google.com/file/d/17Qpp1iu_mPqzgO_73Z9BnFjHrzmX9DGf/view?usp=sharing +- https://archive.org/download/webarena-env-forum-image +- http://metis.lti.cs.cmu.edu/webarena-images/postmill-populated-exposed-withimg.tar ``` docker load --input postmill-populated-exposed-withimg.tar @@ -57,22 +57,26 @@ Now you can visit `http://:9999/`. ## Gitlab Website Download the image tar from the following mirrors: -https://drive.google.com/file/d/19W8qM0DPyRvWCLyQe0qtnCWAHGruolMR/view?usp=sharing -https://archive.org/download/webarena-env-gitlab-image -http://metis.lti.cs.cmu.edu/webarena-images/gitlab-populated-final-port8023.tar +- https://drive.google.com/file/d/19W8qM0DPyRvWCLyQe0qtnCWAHGruolMR/view?usp=sharing +- https://archive.org/download/webarena-env-gitlab-image +- http://metis.lti.cs.cmu.edu/webarena-images/gitlab-populated-final-port8023.tar ``` docker load --input gitlab-populated-final-port8023.tar docker run --name gitlab -d -p 8023:8023 gitlab-populated-final-port8023 /opt/gitlab/embedded/bin/runsvdir-start + +# wait at least 5 mins for services to boot +docker exec gitlab sed -i "s/^external_url.*/external_url 'http://:8023'/" /etc/gitlab/gitlab.rb +docker exec gitlab gitlab-ctl reconfigure ``` It might take 5 mins to start and then you can visit `http://:8023/explore`. ## Wikipedia Website Download the data from the following mirrors: -https://drive.google.com/file/d/1Um4QLxi_bGv5bP6kt83Ke0lNjuV9Tm0P/view?usp=sharing -https://archive.org/download/webarena-env-wiki-image -http://metis.lti.cs.cmu.edu/webarena-images/wikipedia_en_all_maxi_2022-05.zim +- https://drive.google.com/file/d/1Um4QLxi_bGv5bP6kt83Ke0lNjuV9Tm0P/view?usp=sharing +- https://archive.org/download/webarena-env-wiki-image +- http://metis.lti.cs.cmu.edu/webarena-images/wikipedia_en_all_maxi_2022-05.zim ``` docker run -d --name=wikipedia --volume=/:/data -p 8888:80 ghcr.io/kiwix/kiwix-serve:3.3.0 wikipedia_en_all_maxi_2022-05.zim