- Install the prerequisites link
- Go to the windows store and install Ubuntu
- Open Docker desktop. Go to Settings -> General. You need the following options tick.
- Use the WSL 2 based engine
- Use Docker Compose V2
- In Docker Settings, go to Resources -> WSL Integration, and enable integration with Ubuntu
- Open the windows terminal and open the Ubuntu terminal, then install Hashtopolis Server
- Clone
git clone https://github.com/hashtopolis/server.git
- Go to
cd server/
- Run
git branch --remote
- Run
git checkout feature/apiv2
- Run
code
- Open Hashtopolis Server, go to .devcontainer and open Remote Containers (Vscode plugin)
- Clone project
git clone https://github.com/hashtopolis/server.git
- Get branch code
git clopull origin feature/apiv2
- Install docker-compose
sudo curl -L "https://github.com/docker/compose/releases/download/v2.1.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
- Go to
cd server/.devcontainer
- Create container
sudo docker-compose up -d
# run in background