/AptCoPilot

AptCoPilot

Primary LanguageHTML

AptCopilot

This project contains two parts, a server written in Go and frontend web app written in Polymer.

The frontend app is contained in the assets directory with the custom components in the src folder. Routing is client-side using the Polymer element app-route.

The server is in the root of the project and serves both the web app and REST api. The REST api can be found under path /api.

Dependencies

  • mysql database

Run

  • With data

      ./dev/run.sh
    
  • UI only

      cd assets
      polymer serve --open
    

Publish to AWS

  • SSH to server for env variables:

    • DOCKER_HUB_USERNAME

    • DOCKER_HUB_PASSWORD

      make publish
      

SSH to AWS Server

    make ssh