GithubHelp home page GithubHelp logo

friend-daily's Introduction

Friend-Daily

H5 朋友圈,磨洋工中

目标

复刻 https://kam.space

演示

点这里

环境变量

变量名 默认值 备注 必填
DATABASE_URL mysql://root:[email protected]:3306/friend-daily 数据库
SHADOW_DATABASE_URL mysql://root:[email protected]:3306/friend-daily-shadow 影子数据库(开发用)
NUXT_PUBLIC_TITLE 默认标题 网站标题
NUXT_PUBLIC_USERNAME 默认用户名 用户名
NUXT_PUBLIC_DESCRIPTION 默认描述 网站介绍
NUXT_PUBLIC_EMAIL [email protected] 邮件地址
NUXT_PUBLIC_BANNER_IMAGE https://imgapi.cn/bing.php 背景图地址
NUXT_PUBLIC_AVATAR https://imgapi.cn/api.php?fl=fengjing 头像图地址
NUXT_S3_ACCESS_KEY_ID S3 ACCESS_KEY_ID
NUXT_S3_SECRET_ACCESS_KEY S3 SECRET_ACCESS_KEY
NUXT_S3_REGION S3 REGION
NUXT_S3_ENDPOINT_URL S3 ENDPOINT_URL
NUXT_S3_BUCKET_NAME S3 桶名
NUXT_S3_UPLOAD_KEY S3 文件上传路径
NUXT_S3_FILE_PREFIX_URL S3 文件地址前缀

如何启动?

使用 Docker

docker run -d --name friend-daily \
-e DATABASE_URL="mysql://root:[email protected]:3306/friend-daily" \
-e NUXT_PUBLIC_TITLE="默认标题" \
-e NUXT_PUBLIC_USERNAME="默认用户名" \
-e NUXT_PUBLIC_DESCRIPTION="默认描述" \
-e NUXT_PUBLIC_EMAIL="[email protected]" \
-e NUXT_PUBLIC_BANNER_IMAGE="https://imgapi.cn/bing.php" \
-e NUXT_PUBLIC_AVATAR="https://imgapi.cn/api.php?fl=fengjing" \
-e NUXT_S3_ACCESS_KEY_ID="" \
-e NUXT_S3_SECRET_ACCESS_KEY="" \
-e NUXT_S3_REGION="" \
-e NUXT_S3_ENDPOINT_URL="" \
-e NUXT_S3_BUCKET_NAME="" \
-e NUXT_S3_UPLOAD_KEY="" \
-e NUXT_S3_FILE_PREFIX_URL="" \
-p 3000:3000 \
sdrpsps/friend-daily

编译镜像

docker build -t sdrpsps/friend-daily .

friend-daily's People

Contributors

sdrpsps avatar

Stargazers

fishyer avatar 不讲李 avatar NOISE avatar 冯昌龙 avatar  avatar flhua avatar

Watchers

 avatar

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.