Skip to content

nikiandr/golang-test-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

golang-test-task

Deployed version of app could be found here: https://golang-test-task.herokuapp.com/.

Local deployment guide

Guide was created on Ubuntu 21.10 - based operating system. For this reason there may be some sufficient differences in local deployment process on another OS such as Windows or MacOS.

  1. Install Golang

Instruction for Golang installation could be found on this page: https://go.dev/doc/install.

  1. Clone this repository on your computer
git clone git@github.com:nikiandr/golang-test-task.git

or

git clone https://github.com/nikiandr/golang-test-task.git
  1. Open project directory
cd golang-test-task/
  1. Set PORT environment variable

In this guide we will set PORT to 8080. You can set it to whatever port you like and have opened.

export PORT="8080"
  1. Build project
go build cmd/main.go
  1. Run executable file
./main
  1. Open application

For this you should open your browser on http://localhost:8080

  1. FIN

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published