diff --git a/appmanage/docs/DEV-SETUP.md b/appmanage/docs/DEV-SETUP.md index 47bc2b66..35b679be 100644 --- a/appmanage/docs/DEV-SETUP.md +++ b/appmanage/docs/DEV-SETUP.md @@ -1,15 +1,32 @@ # Dev-Setup +## Development runtime + +You can use Windows/Linux/Mac for AppMange development if you have Docker and Python3.8 on you machine. + +Then running below commands for development rutime: + +``` +git clone --depth=1 https://github.com/Websoft9/websoft9.git +cd websoft9/appmanage +pip install -r requirements.txt +``` + +You should fork this repository and push your branch to remote repository. + ## Deployment -Install python3.6+ and Docker on your development environment, then +This repository only support deployment on Linux: -``` -pip install -r requirements.txt -docker build https://github.com/Websoft9/websoft9.git#main:appmanage -t websoft9dev/appmanage:latest-rp -docker network create websoft9 -git clone https://github.com/Websoft9/websoft9.git && cd websoft9/docker/appmanage && export APP_VERSION=latest-rp && docker compose up -d -``` +1. Install websoft9 on you Linux + ``` + wget https://websoft9.github.io/websoft9/install/install.sh && bash install.sh + ``` +2. **git clone** your remote repository, and build your AppManage container and running it + ``` + cd websoft9/appmanage && docker build -t websoft9dev/appmanage:latest-pr . + cd websoft9/docker/appmanage && export APP_VERSION=latest-pr && docker compose up -d + ``` ## API UI @@ -17,4 +34,4 @@ Access API by: **http://Internet IP:port/docs** ### Test Automation -Coming soon... \ No newline at end of file +Coming soon...