focus-single
focus-single copied to clipboard
Single repo demo project using GoFrame.
1. Focus Single
A MVC
project using GoFrame
.
2. Quick start
2.1 If you use SQLite
- Download the source code
git clone https://github.com/gogf/focus-single.git
cd focus-single
- Run Focus Single
cp manifest/config/config.example.yaml manifest/config/config.yaml
gf run main.go
- Enjoy it then open http://127.0.0.1:8199/ and enjoy it.
user: goframe
password: 123456
2.2 If you use MySQL
- Download the source code
git clone https://github.com/gogf/focus-single.git
cd focus-single
- Update config copy manifest/config/config.yaml and edit database.default config
cp manifest/config/config.example.yaml manifest/config/config.yaml
-
Import Db Import manifest/document/focus.sql to your Mysql
-
Run Focus Single And Enjoy
gf run main.go
then open http://127.0.0.1:8199/ and enjoy it.
user: goframe
password: 123456