GithubHelp home page GithubHelp logo

jae1911 / futuhours-next Goto Github PK

View Code? Open in Web Editor NEW

This project forked from futurice/futuhours-next

0.0 0.0 0.0 621 KB

A simple frontend for logging work hours

License: Apache License 2.0

Shell 0.62% JavaScript 6.44% CSS 3.62% Elm 88.07% HTML 1.10% Dockerfile 0.14%

futuhours-next's Introduction

FutuHours-next

Application for updating and editing employee hours, all new and re-written in Elm and elm-ui.

Currently in Beta and deployed at betahours (internal link only).

Requirements

You will also need a running backend API server on the same host at port 8803, for which you will need to set up haskell-mega-repo. The backend server code is in hours-api.

For development, it is sufficient to get as far as being able to run cabal new-run hours-mock-server. If the port the backend server is running on is not 8803, you can change the proxy setting to point to the correct address in elmapp.config.js.

Development

To start the development environment, do:

$ elm-app start

Git Workflow

The repo contains two main branches: master, which is the current production version which should be deployed to hours, and develop which is the current development version and may be deployed to betahours.

Feature branches, fixes, and PRs should be made against develop, and releases are handled as a PR from develop to master, with a corresponding deployment to hours.

Deployment

To deploy, use the following commands, where <server-id> is replaced with either betahours for the beta server, or hours for production:

$ docker build -t futurice/futuhours-next:$(git log --pretty=format:'%h' -n 1) .
$ appswarm image:push -i futurice/futuhours-next -t $(git log --pretty=format:'%h' -n 1)
$ appswarm app:deploy -i futurice/futuhours-next -t $(git log --pretty=format:'%h' -n 1) -n <server-id>

Alternately, simple bash scripts are provided to save you typing:

./deploy-beta.sh
./deploy-prod.sh

License

Copyright 2019 by Futurice Oy

Apache License 2.0

futuhours-next's People

Contributors

dependabot[bot] avatar jae1911 avatar jarcane avatar neurogoo avatar ohanhi avatar

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.