Skip to content

Commit

Permalink
add gitattributes
Browse files Browse the repository at this point in the history
  • Loading branch information
pycook committed Aug 18, 2023
1 parent 907ee06 commit e6dd465
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.vue linguist-language=python
2 changes: 1 addition & 1 deletion docs/local.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ cp acl-api/settings.example.py acl-api/settings.py
- 后端: 进入**acl-api**目录执行 `pipenv run flask run -h 0.0.0.0`
- 前端: 进入**acl-ui**目录执行`yarn run serve`
- worker:
- 进入**acl-api**目录执行 `pipenv run celery worker -A celery_worker.celery -E -Q acl_async --concurrency=1 -D`
- 进入**acl-api**目录执行 `pipenv run celery -A celery_worker.celery worker -E -Q acl_async --concurrency=1 -D`

- 浏览器打开: [http://127.0.0.1:8000](http://127.0.0.1:8000)
- 如果是非本机访问, 要修改**acl-ui/.env****VUE_APP_API_BASE_URL**里的 IP 地址为后端服务的 ip 地址
2 changes: 1 addition & 1 deletion docs/local_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
- backend: in **acl-api** directory: `pipenv run flask run -h 0.0.0.0`
- frontend: in **acl-ui** directory: `yarn run serve`
- worker:
- in **acl-api** directory: `pipenv run celery worker -A celery_worker.celery -E -Q acl_async --concurrency=1 -D`
- in **acl-api** directory: `pipenv run celery -A celery_worker.celery worker -E -Q acl_async --concurrency=1 -D`

- homepage: [http://127.0.0.1:8000](http://127.0.0.1:8000)
- if not run localhost: please change ip address(**VUE_APP_API_BASE_URL**) in config file **acl-ui/.env** into your backend ip address

0 comments on commit e6dd465

Please sign in to comment.