registration

module
Version: v0.0.0-...-b5f08d2 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2017 License: AGPL-3.0

README

Registration application for CCJ16

Build Status

This project contains the entire registration system for CCJ16. The site itself is now live at https://registration.cubjamboree.ca for pre-registration. This project can be used for other registration systems if wanted.

Requirements

All requirements are available using the given language's package manager. Currently this includes:

Golang
Javascript

Installing

  1. Download this project into your GOPATH: go get github.com/CCJ16/registration
  2. Change into the repository location.
  3. Install the project dependencies for the client side: npm install.

Running

The project is currently missing a configuration file, so main.go will need adjusting. Modify the relevant strings as desired. To run the project, run in the repository location:

  1. Change to the go folder cd regbackend
  2. Build the go project again in the current folder: go build
  3. Run the application in the current folder. Note the path to the html/js is hardcoded, so run the command in the current folder: ./regbackend

The executable will log the http requests and some errors. You can run the server directly against the Internet, or proxied through another web server like lighttpd or nginx.

Tests

To run the server side tests, run go test ./... in the repository folder. To run the client side tests, run npm test in the repository folder. Currently only unit tests are used, end to end tests are not yet done.

Contributing

Bug reports are appreciated. Pull requests for any code, documentation, or other changes are appreciated.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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