Skip to content

Commit a8cbc62

Browse files
committed
剔除容器启动对php/composer的依赖
1 parent bf5271f commit a8cbc62

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
APP_NAME=GeekChat
22
APP_ENV=local
3-
APP_KEY=
3+
APP_KEY=base64:LWgxOBPkZqpxH5JwuthrKaxVWXGGiYIGCJTniBHUDKU=
44
APP_DEBUG=true
55
APP_URL=http://chat.geekr.dev
66

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,9 @@ This is a simple clone of ChatGPT made with Laravel using the OpenAI PHP client
99
本地启动:
1010

1111
```bash
12-
composer install
1312
cp .env.example .env
14-
php artisan key:generate
1513
# 设置 OPENAI_API_KEY
16-
npm install && npm run dev
17-
./vendor/bin/sail up -d
14+
docker-compose up -d
1815
```
1916

2017
启动成功后,就可以通过 `http://localhost` 在浏览器访问 GeekChat 了。

0 commit comments

Comments
 (0)