# README
Web-Service for Converting CSV to JSON
Getting Started
-
Make sure
GOLANG
dev package &GIT
are available in your machine. -
Build.
Run
build.sh
. -
Release.
Run
release.sh 'dest-platform' 'dest-path'
.e.g. run
./release.sh [linux64|win64|mac] ~/Desktop/csv2json/linux64/
-
Docker Deploy (local, only for linux64 platform server).
Make sure
Docker
installed.Jump into your release dest-path in above step.
e.g. jump into
~/Desktop/csv2json/linux64/
Run
docker build --tag n3-csv2json .
to make docker image.Run
docker run --name csv2json --net host n3-csv2json:latest
to run docker image. -
Test.
Make sure
curl
installed.Simple curl test scripts in test.sh.
Before running
./test.sh
, modify some params like URL (IP, PORT ...) if needed.OR write your own curl test like 'test.sh'.