wints

command module
v0.0.0-...-1b8d80d Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: AGPL-3.0 Imports: 17 Imported by: 0

README

Wints

CI

A web application to manage final internships at Polytech.
See this repo

Requirements

Installation

In your $GOPATH (usually $HOME/go):

git clone https://github.com/emmvou/wints.git src/github.com/emmvou/wints
cd src/github.com/emmvou/wints/; npm ci; gulp assets
go install github.com/emmvou/wints

Usage

In the wints installation directory ($GOPATH/src/github.com/emmvou/wints):

wints
Parameters
  -conf string  
        Wints configuration file (default "wints.conf")  
  -fake-mailer  
        Do not send emails. Print them out stdout  
  -install-db  
        install the database  
  -new-root string  
        Invite a root user  

Development environment

In a development environment, use the following commands:

gulp assets watch

Benchmarks, tests

go test -x -v -tags=integration -bench BenchmarkInternships -cpuprofile=cpu.prof -db-url $CONNECTION_STRING

Replace $CONNECTION_STRING with the string used in wints.conf.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package config aggregates the necessary material to configure the wints daemon
Package config aggregates the necessary material to configure the wints daemon
Package httpd provides all the endpoints
Package httpd provides all the endpoints
Package logger is a simple package to support rotating log file with multiple files and basic tagging
Package logger is a simple package to support rotating log file with multiple files and basic tagging
Package session provides the material to implement the security layer.
Package session provides the material to implement the security layer.

Jump to

Keyboard shortcuts

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