Merge pull request #138 from rb-de0/add-redis-flag Add useRedis config
Merge pull request #138 from rb-de0/add-redis-flag
Add useRedis config
yubatake is simple blogging engine for Swift.
Tests passed on the following Systems.
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.2
yubatake supports MySQL only.
Please install MySQL Server in your environment.
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;
Please edit configuration files in Config directory according to your environment.
Config
The setting of the whole application.
The setting of a mysql server.
The setting of a Content Security Policy.
$ swift build -c release
$ swift run Run -e prod
Be sure to set -e prod as a option to use production middlewares.
-e prod
yubatake is released under the MIT License. See the license file for more info.
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
yubatake
yubatake is simple blogging engine for Swift.
Prerequisites
Swift
OS
Tests passed on the following Systems.
Usage
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)
2. 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.
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
5. Run Application
Be 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.