Code Monkey home page Code Monkey logo

wints's Introduction

Wints

A web application to manage final internships at Polytech.

Requirements

  • A postgreSQL database
  • Golang
  • GoDep to handle the dependencies
  • node.js to build the frontend
  • gulp to manage installation workflow

Installation

go get github.com/pierrre/gotestcover  
go get github.com/tools/godep  

In your $GOPATH:

git clone https://github.com/fhermeni/wints.git src/github.com/fhermeni/wints # to get the source
cd src/github.com/fhermeni/wints/; godep restore # to restore the dependencies.
go install github.com/fhermeni/wints/wintsd # to build the executable.

Usage of ./bin/wints:

  -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  

Running

  • wints launches the daemon. For test purposes, it is preferable to launch it with the --fakeMailer option to prevent to send mails (they will be logged into logs/mailer... instead)

Benchmarks, tests

go test -x -v -tags=integration -bench BenchmarkInternships -cpuprofile=cpu.prof

Developement

to run in development mode: ./dev.sh --> server on https://localhost:8999

wints's People

Contributors

fhermeni avatar jdeantoni avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

collet

wints's Issues

Mode install

Il faut un mode "init" pour mettre en place plus rapidement wints côté serveur:

  • création de la BD (par script shell possiblement)
  • création des tables
  • déclaration du root avec password qui s'affiche dans la console. Cette commande ne pourrait marcher que si la BD est vide pour des problèmes de sécurité.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.