V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
jixiaopeng
V2EX  ›  分享创造

开源电商平台,轻量独立站

  •  
  •   jixiaopeng ·
    huanghanzhilian · 101 天前 · 1423 次点击
    这是一个创建于 101 天前的主题,其中的信息可能已经有所发展或是发生改变。

    C-Shopping:基于 Nextjs14 开发同时适配 Desktop 、Tablet 、Phone 多种设备的精美购物平台。

    开源地址: https://github.com/huanghanzhilian/c-shopping

    在线演示地址:

    技术亮点:

    • Next.js
    • TailwindCss
    • Headless UI
    • MongoDB
    • Redux - Toolkit - RTK Query
    • Redux - 工具包 - RTK
    • JWT
    • Docker

    如果你觉得有帮助,请给我一个 Star ,这会给我更大的鼓励。

    6 条回复    2024-01-27 23:30:34 +08:00
    justincnn
        1
    justincnn  
       100 天前
    failed to solve: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount582599611/Dockerfile: no such file or directory

    请问这个错误如何解决?
    justincnn
        2
    justincnn  
       100 天前
    又有新的错误

    ~~~yaml
    => [web 4/8] COPY package.json /app 0.2s => ERROR [web 5/8] RUN npm install -g next --registry https://registry.npm.taobao.org 73.7s
    ------
    > [web 5/8] RUN npm install -g next --registry https://registry.npm.taobao.org:
    73.64 npm ERR! code CERT_HAS_EXPIRED
    73.64 npm ERR! errno CERT_HAS_EXPIRED
    73.64 npm ERR! request to https://registry.npm.taobao.org/next failed, reason: certificate has expired
    73.64
    73.65 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-01-27T11_28_49_902Z-debug-0.log
    ------
    failed to solve: process "/bin/sh -c npm install -g next --registry https://registry.npm.taobao.org" did not complete successfully: exit code: 1
    ~~~
    jixiaopeng
        3
    jixiaopeng  
    OP
       100 天前
    @justincnn 本机跑能不能跑去来,我这边 Docker version 24.0.7 ,你那边多少
    justincnn
        4
    justincnn  
       100 天前
    @hlibaibai1 Client:
    我直接部署在 vps 上了,机器在日本,是不是需要换源?

    Docker Engine - Community
    Version: 24.0.7
    API version: 1.43
    Go version: go1.20.10
    Git commit: afdd53b
    Built: Thu Oct 26 09:07:41 2023
    OS/Arch: linux/amd64
    Context: default

    Server: Docker Engine - Community
    Engine:
    Version: 24.0.7
    API version: 1.43 (minimum version 1.12)
    Go version: go1.20.10
    Git commit: 311b9ff
    Built: Thu Oct 26 09:07:41 2023
    OS/Arch: linux/amd64
    Experimental: false
    containerd:
    Version: 1.6.26
    GitCommit: 3dd1e886e55dd695541fdcd67420c2888645a495
    runc:
    Version: 1.1.10
    GitCommit: v1.1.10-0-g18a0cb0
    docker-init:
    Version: 0.19.0
    GitCommit: de40ad0
    justincnn
        5
    justincnn  
       100 天前
    请问下,这个在线商店,运行需要的最低配置是多少?
    jixiaopeng
        6
    jixiaopeng  
    OP
       100 天前
    @justincnn 我用的淘宝源,你最好换个源。2 核(vCPU)
    2 GiB
    3 Mbps ,这是我服务器的配置,运行没有问题
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5912 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 06:28 · PVG 14:28 · LAX 23:28 · JFK 02:28
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.