30 lines
835 B
Markdown
30 lines
835 B
Markdown
# Task: Get nKode running on you system and document the process for setting up in the Readme.md
|
|
|
|
Prereq:
|
|
1. sign into gitea
|
|
2. clone go-nkode
|
|
3. install docker
|
|
4. install sqlite3
|
|
|
|
Do this stuff later
|
|
- install flutter
|
|
- clone flutter-nkode
|
|
|
|
## Install Swaggo
|
|
|
|
Install [swaggo](https://github.com/swaggo/swag)
|
|
|
|
you'll know you're successful when you see this in the cli:
|
|
```
|
|
➜ go-nkode git:(main) ✗ swag --version
|
|
swag version v1.16.4
|
|
```
|
|
|
|
## Setup Sqlite DB
|
|
Follow this [video](https://1drv.ms/v/s!Agm1aJyS_E11lPVCt_uoJFEn9HPFrA?e=mvntuY)
|
|
Download flaticon zip [here](https://1drv.ms/u/s!Agm1aJyS_E11lPVAI9Af279oZGnC2w?e=WbY1Xd)
|
|
|
|
Add this to your environment variables in your Goland config for sqlite_init.go
|
|
`DB_PATH=/path/to/databases/nkode.db;SVG_DIR=/path/to/flaticon_colored_svgs;TEST_DB_PATH=/path/to/databases/test.db`
|
|
|