From e0e48f1e99d9a79a2630778cba0c0d72e17df393 Mon Sep 17 00:00:00 2001 From: Mike Wallace Date: Thu, 23 Dec 2021 23:47:33 -0500 Subject: [PATCH] Deleted doc file, it's in the wiki now. (#198) Move the scripts to the script folder. --- doc/BUILD_ON_DOCKER.md | 43 ------------------- .../scripts}/docker-buildfiles/Dockerfile | 0 .../docker-buildfiles/docker-compose.yml | 0 3 files changed, 43 deletions(-) delete mode 100644 doc/BUILD_ON_DOCKER.md rename {doc => frontend/scripts}/docker-buildfiles/Dockerfile (100%) rename {doc => frontend/scripts}/docker-buildfiles/docker-compose.yml (100%) diff --git a/doc/BUILD_ON_DOCKER.md b/doc/BUILD_ON_DOCKER.md deleted file mode 100644 index ebb16c5ec8..0000000000 --- a/doc/BUILD_ON_DOCKER.md +++ /dev/null @@ -1,43 +0,0 @@ -### Note:- - -- Make sure you already have docker and docker-compose fully working before this. For Arch you can read here [Docker Arch linux docs](https://wiki.archlinux.org/title/Docker) -- Don't forget to add your username to docker group to run docker without sudo. To do that, on Arch, - `sudo usermod -aG docker yoursername` and reboot is a must. -- This build is also based on the Arch linux build -- Any Linux/ Mac machine should work, because you need to - `xhost local:root` I'm not sure if Windows support this -- There is no need of cloning the whole repo, you can also create a new directory and paste the Dockerfile and docker-compose.yml from `appflowy/doc/docker-buildfiles`. - -- Once the docker image has been built, `docker-compose up` from the directory would be enough to run the appflowy container next time. - -# Steps: - -## Step 1: clone the repository - -```{bash} -git clone https://github.com/AppFlowy-IO/appflowy.git -``` - -## Step 2: cd into docker-buildfiles - -```{bash} -cd ./appflowy/doc/docker-buildfiles -``` - -## Step 3: Provide access of appflowy to X session - -```{bash} -xhost local:root -``` - -## Step 4: build the docker image - -```{bash} -docker-compose build -``` - -## Step 5: run the docker container - -```{bash} -docker-compose up -``` diff --git a/doc/docker-buildfiles/Dockerfile b/frontend/scripts/docker-buildfiles/Dockerfile similarity index 100% rename from doc/docker-buildfiles/Dockerfile rename to frontend/scripts/docker-buildfiles/Dockerfile diff --git a/doc/docker-buildfiles/docker-compose.yml b/frontend/scripts/docker-buildfiles/docker-compose.yml similarity index 100% rename from doc/docker-buildfiles/docker-compose.yml rename to frontend/scripts/docker-buildfiles/docker-compose.yml