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
-
gulp
$ npm init
$ npm install --save-dev gulp
-
gulp-vapor
$ npm install --save-dev gulp-vapor
$ vapor xcode -y
$ 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
Visit the Vapor web framework's documentation for instructions on how to use this package.
Join the welcoming community of fellow Vapor developers in slack.
This package has been tested on macOS and Ubuntu.