+
Skip to content

jchapman63/gkmn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GOKEMON

Welcome to Gokemon, a CLI client-server application for having pokemon battles with a friend in the terminal. Here in -v0.0.1 , there is very little battle functionality. But! This project is a proof of concept for creating a local deployment of a multi-container application, the first one I have ever created.

Getting Started

Docker Desktop and an image of postgres is required (along with a build of the game image).

Images From project root

  • docker build -t gokemon-build .
  • docker pull postgres

Running the Application 1.) Pull down or download the application code 2.) Run go run . from project root 3.) Select host

Now a container of the server will spin up, along with a postgres container. The two should be connected successfully as this happened with docker compose up -d from within the application code.

Finally, you can open a second terminal window:

1.) go run . 2.) connect

Enjoy!

About

API Pokemon Game: Its purpose is for learning Go and containerizing an application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载