first commit

This commit is contained in:
2022-07-06 10:00:16 +08:00
committed by jhx
commit 54e265dd61
56 changed files with 7491 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**