Skip to content
Vapor 实现 Swift 开发者社区网站(Vapor3),后端: https://github.com/swiftclub/SwiftClub (Vapor) 前端: https://github.com/swiftclub/club (Vue代码))
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
Public
Resources/Views
Sources
Tests
conf.d
.dockerignore
.gitignore
Dockerfile
Package.resolved
Package.swift
README.md
TODO.md
cloud.yml
docker-compose.yml

README.md

API Template

Documentation Team Chat MIT License Continuous Integration Swift 4.1

vapor

Vapor3

docker 部署

隔离本地环境,建议采用 docker, 项目已写好相关脚本。 部署:

  1. 安装 docker , 并且运行

  2. 第一次部署项目,切到该工程根目录执行

    docker-compose up    
  3. 当你代码改动的时候,需要进行重新编译

    # 重新编译
    docker-compose build
    # 然后
    docker-compose up

网站网址:

https://swiftclub.loveli.site

项目博文

项目系列博文

微信订阅号

请搜索 SwiftClub

You can’t perform that action at this time.