Skip to content

macma/secgame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to run the application locally

  • run go get -u -f ./... to install go libraries
  • setup the postgres server, and update the connStr in line 20 from db/postgres.go
  • use the below script to create the schema
create table clicks (
    color int,
    created_at TIMESTAMP
)
  • run the application using go run cmd/clpsec-app-server/main.go
  • play the game via localhost:8081/ws and localhost:8081/client; refresh the first page to reset the counters.

References

Contact

Please contact with mac if you have further questions

About

this is the project for clpsec-game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published