Initial commit
This commit is contained in:
Executable
+17
@@ -0,0 +1,17 @@
|
||||
clear
|
||||
|
||||
# Get dependencies
|
||||
# go mod tidy
|
||||
|
||||
# Build server
|
||||
go build .
|
||||
|
||||
# Delete previous database
|
||||
sudo rm ./SQLiteDatabase.db
|
||||
|
||||
# Create new database
|
||||
./cmd --new-schema
|
||||
|
||||
# Run server
|
||||
./cmd --host=127.0.0.1 --port=8080 --limit=10 --offset=0 --write-timeout=10 --read-timeout=10
|
||||
|
||||
Reference in New Issue
Block a user