This commit is contained in:
jhx
2023-08-18 11:34:58 +08:00
commit 49ea1bb75d
16 changed files with 583 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
# Set environment variables
Copy file **env-example** to **.env**, and change the item what you need.
Change the **HOST_APP_DIR** env item, ensure where your webman app is.
# Build image
Ensure you have install docker and docker-compose first.
You can build you image by execute follow command:
> **docker-compose up -d webman**
# Run
Enter the container:
> **docker-compose exec webman bash**
If you havn't init composer, you can run this command:
> **composer install**
Run in front:
> **php start.php start**
Run in backend:
> **php start.php start -d**