kateinoigakukun / vapor-template

My Vapor template.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Template

A basic vapor template for starting a new Vapor web application. If you're using vapor toolbox, you can use: vapor new --template=kateinoigakukun/vapor-template

Requirement

  • gulp

    $ npm init

    $ npm install --save-dev gulp

  • gulp-vapor

    $ npm install --save-dev gulp-vapor

Development

Xcode

$ vapor xcode -y

Deploy

$ docker build -t vapor-template docker
$ docker run -ti \
        --name $(basename $(pwd)) \
        -p 127.0.0.1:8080:8080 \
        -p 127.0.0.1:3306:3306 \
        -v mysql.data:/var/lib/mysql \
        -v $(pwd):/vapor \
        vapor-template

In container $ vapor build $ ./.build/debug/App

πŸ“– Documentation

Visit the Vapor web framework's documentation for instructions on how to use this package.

πŸ’§ Community

Join the welcoming community of fellow Vapor developers in slack.

πŸ”§ Compatibility

This package has been tested on macOS and Ubuntu.

About

My Vapor template.

License:MIT License


Languages

Language:Swift 70.4%Language:CSS 16.1%Language:JavaScript 9.2%Language:Shell 4.3%