gofer-chat

command module
v0.0.0-...-a894855 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

README

GoferChat

GoferChat is a websocket based chat server written in Go with an included and optional Svelte Front-End.

Running GoferChat

If you wish to use the built in GoferChat frontend written in Sevlte, you need to first complie the Svelte code. To do so, enter the following commands:

$ cd client
$ npm install
$ npm run build
$ cd ..

If you wish to build your own Front-End for GoferChat, place the files to be served in the ./client/build/ directory. Make sure the main application is named index.html and the login page is login.html. For any other static files, GoferChat will serve them statically for you in the ./client/build/ directory.

Once you've initalized the Front-End, you can build and run the backend by running the following commands:

$ go build .
$ ./gofer-chat

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL