diff --git a/.github/workflow/gh-pages.yml b/.github/workflow/gh-pages.yml index bbd839f..b8eb6c9 100644 --- a/.github/workflow/gh-pages.yml +++ b/.github/workflow/gh-pages.yml @@ -7,29 +7,29 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v2 - - name: Setup Node - uses: actions/setup-node@v1 - with: - node-version: '12.x' - - name: Cache dependencies - uses: actions/cache@v1 - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node- - - name: Build - env: - PRODUCTION_BASE_URL: / - BASE_URL: / - VUE_APP_API_URL: https://api-fastapi-admin.long2ice.cn:8443 - run: npm run build + - name: Setup Node + uses: actions/setup-node@v1 + with: + node-version: '12.x' + - name: Cache dependencies + uses: actions/cache@v1 + with: + path: ~/.npm + key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-node- + - name: Build + env: + PRODUCTION_BASE_URL: / + BASE_URL: / + VUE_APP_API_URL: https://api-fastapi-admin.long2ice.cn:8443 + run: npm run build - - name: deploy - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./dist - cname: fastapi-admin.long2ice.cn \ No newline at end of file + - name: deploy + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./dist + cname: fastapi-admin.long2ice.cn \ No newline at end of file diff --git a/.github/workflow/pypi.yml b/.github/workflow/pypi.yml index 00d7c79..49a1915 100644 --- a/.github/workflow/pypi.yml +++ b/.github/workflow/pypi.yml @@ -7,12 +7,12 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Build dists - run: | - python setup.py sdist - - name: Pypi Publish - uses: pypa/gh-action-pypi-publish@master - with: - user: __token__ - password: ${{ secrets.pypi_password }} \ No newline at end of file + - uses: actions/checkout@v2 + - name: Build dists + run: | + python3 setup.py sdist + - name: Pypi Publish + uses: pypa/gh-action-pypi-publish@master + with: + user: __token__ + password: ${{ secrets.pypi_password }} \ No newline at end of file diff --git a/README.rst b/README.rst index 0cd3424..6a382e3 100644 --- a/README.rst +++ b/README.rst @@ -4,8 +4,6 @@ FastAPI Admin .. image:: https://img.shields.io/pypi/v/fastapi-admin.svg?style=flat :target: https://pypi.python.org/pypi/fastapi-admin -.. image:: https://travis-ci.com/long2ice/fastapi-admin.svg?branch=master - :target: https://travis-ci.com/long2ice/fastapi-admin .. image:: https://img.shields.io/github/license/long2ice/fastapi-admin :target: https://github.com/long2ice/fastapi-admin @@ -207,4 +205,9 @@ ThanksTo * `fastapi `_ ,high performance async api framework. * `tortoise-orm `_ ,familiar asyncio ORM for python. -* `rest-admin `_,restful Admin Dashboard Based on Vue and Boostrap 4. \ No newline at end of file +* `rest-admin `_,restful Admin Dashboard Based on Vue and Boostrap 4. + +License +======= + +This project is licensed under the `MIT `_ License. \ No newline at end of file diff --git a/front/src/i18n/en-US.json b/front/src/i18n/en-US.json index 6c0dec5..89669f8 100644 --- a/front/src/i18n/en-US.json +++ b/front/src/i18n/en-US.json @@ -7,7 +7,7 @@ "messages": { "paginate": "Total: {total}", "deleted": "Deleted", - "login_footer": "REST ADMIN", + "login_footer": "FASTAPI ADMIN - Fast Admin Dashboard for RESTFul API", "deleted_all": "All deleted", "confirm_delete": "Are you sure you want to delete?", "image_size": "Size limit: {width}x{height}", diff --git a/front/src/i18n/zh-CN.json b/front/src/i18n/zh-CN.json index cfc1ce9..f177d2d 100644 --- a/front/src/i18n/zh-CN.json +++ b/front/src/i18n/zh-CN.json @@ -29,7 +29,7 @@ "messages": { "paginate": "共{total}条数据", "login_please": "请先登录", - "login_footer": "REST ADMIN - Awesome Admin Dashboard for RESTFul API", + "login_footer": "FASTAPI ADMIN - Fast Admin Dashboard for RESTFul API", "login_description": "管理后台", "dashboard": "控制台", "go_home": "返回首页",