https://github.com/eniehack/nikkiamev2
[W.I.P.] a blog server written by golang.
https://github.com/eniehack/nikkiamev2
Last synced: 6 months ago
JSON representation
[W.I.P.] a blog server written by golang.
- Host: GitHub
- URL: https://github.com/eniehack/nikkiamev2
- Owner: eniehack
- Archived: true
- Created: 2022-04-17T06:07:31.000Z (about 4 years ago)
- Default Branch: trunk
- Last Pushed: 2022-04-29T10:46:23.000Z (about 4 years ago)
- Last Synced: 2024-06-21T18:04:14.104Z (about 2 years ago)
- Language: Go
- Homepage:
- Size: 19.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nikkiame
nikkiame(v2)
a blog server written by golang.
## install & run
clone this repo
``` shellsession
git clone https://github.com/eniehack/nikkiamev2.git
```
create configratiuon file, and edit it.
(database.dsn syntax is gorm's. [see also](https://gorm.io/docs/connecting_to_the_database.html))
``` shellsession
cp config.example.toml config.toml
vim config.toml
```
migrate database.
``` shellsession
cd cmd/migrator/
go build
./migrator -c ../../config.toml
```
build nikkiame.
``` shellsession
cd ../../
go build -o nikkiame
```
run server(but http server's configuration is required).
``` shellsession
./nikkiame
```
## License
copyright (c) 2022 eniehack
This software is licensed under [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0) OR [Affero GNU Public License 3.0](https://www.gnu.org/licenses/agpl-3.0.en.html).
## develop
Fork it (https://gitlab.com/eniehack/branca-cr/fork)
clone this repo
``` shellsession
git clone https://github.com/eniehack/nikkiamev2.git
```
Create your feature branch (git checkout -b my-new-feature)
create go.work
``` shellsession
go work init
```
Commit your changes (git commit -am 'Add some feature')
Push to the branch (git push origin my-new-feature)
Create a new Pull Request
## Contributors
* eniehack - creator and maintainer