add instructions
This commit is contained in:
28
instructions/task_120924.md
Normal file
28
instructions/task_120924.md
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
# Task: Get nKode running on you system and document the process for setting up in the Readme.md
|
||||||
|
|
||||||
|
Prereq:
|
||||||
|
- sign into gitea
|
||||||
|
- clone go-nkode
|
||||||
|
- clone flutter-nkode
|
||||||
|
- install docker
|
||||||
|
- install flutter
|
||||||
|
- install golang
|
||||||
|
- install sqlite3
|
||||||
|
|
||||||
|
## 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`
|
||||||
|
|
||||||
Reference in New Issue
Block a user