rb-de0/yubatake
yubatake is simple blogging engine for Swift.
Setup Envirionment
1. Install Swift
Please install Swift in your environment. For macOS please download Xcode 12.3. If you are using Ubuntu, it is easy to install using swiftenv.
Example(swiftenv)
$ swiftenv install 5.3.22. Install MySQL
yubatake supports MySQL only.
Please install MySQL Server in your environment.
Setup Application
1. Clone or download this repository.
2. Create database
To use MySQL for the database, please enter the following SQL to create the database.
Please choose the name of a database freely.
mysql> create database yubatake default character set utf8;3. Setup Config
Please edit configuration files in Config directory according to your environment.
app.json
The setting of the whole application.
mysql.json
The setting of a mysql server.
csp.json
The setting of a Content Security Policy.
4. Build Application
$ swift build -c release5. Run Application
$ swift run Run -e prodBe sure to set -e prod as a option to use production middlewares.
LICENSE
yubatake is released under the MIT License. See the license file for more info.
Package Metadata
Repository: rb-de0/yubatake
Default branch: master
README: README.md