blogs-service is the server of blogs,which stores and processes user data for the client. Developed using golang, based on docker deployment.
-
install docker
-
install docker-compose
-
mysql ( You can see the config of db in config/config.tol ).
The config of server is made up of config/config.tol and docker-compose.yml.
// get code
git clone https://github.com/zhousi666/blogs-service.git
// build blogs
cd blogs-service
sudo make
// start blogs service
sudo docker-compose -f docker-compose.yml up -d
or : sudo docker-compose -f docker-compose.yml up