Skip to content

skreutzberger/SBWebsite

Repository files navigation

SwiftyBeaver Website

Language Swift 3 Vapor 1.x [SwiftyBeaver 1.x] (https://github.com/SwiftyBeaver/SwiftyBeaver) Slack Status

Source code of swiftybeaver.com powered by server-side Swift 3 with Vapor.

Installation

  1. Install Xcode 8
  2. Download / clone the repository & go into the project folder
  3. Install Vapor: curl -sL toolbox.vapor.sh | bash
  4. Build the project: vapor build
  5. Run the web server: vapor run serve
  6. See the website at http://0.0.0.0:8080/

Content

Used Frameworks / Libs:

Included Custom Middleware:

  • Cache Control (set custom cache control header based on file types)
  • CORS (set cross-origin HTTP request for URL based on file types)
  • Error Page (catches & logs HTTP & system errors, renders error pages)

See the middleware folder for more.

Deployment

The project includes a deployment script and a Linux service file. Please read our dedicated article about how you can deploy a production-ready Vapor web app like this one to Amazon Web Services EC2.



Learn More

Get support via Github Issues, email and our public Slack channel.

License

The Swift source code is released under the MIT License. Every other asset (images, videos, SVG files, etc.), is not allowed to be used without permission.

About

swiftybeaver.com powered by Vapor & Swift 3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published