Giter Site home page Giter Site logo

qxrelayconv's Introduction

自行部署步骤

.env 文件

把 .env.sample 文件重命名为 .env.local。

Turso 初始化

配置信息使用 Turso 的数据库保存,这是唯一的外部依赖。在网页端授权 Github 登陆创建好账号后,可以在本地安装 Truso Cli 工具,安装好后:

  1. turso auth login
  2. turso db create [db-name]
  3. turso db show [db-name] --url
  4. turso db tokens created [db-name]

把第三行和第四行的输出分别填写到 .env.local 的第一行和第二行。

Turso 建表

输入 turso db shell [db-name] 命令,这会开启一个 SQL 会话,把 SQL 的建表语句输入进去。

最后

把本目录拷贝到服务器上,然后:

  1. pnpm build
  2. pnpm start

即可运行。

效果图

配置页面

qxrelayconv's People

Contributors

wincerchan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

koude mygugubird

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.