Code Monkey home page Code Monkey logo

backurapp's People

Contributors

lucamattiazzi avatar marcofugaro avatar pitou avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

hackthings

backurapp's Issues

Ideas for abstraction of build + deploy workflow

We can abstract the workflow currently used by Anonymizer, these are some steps for an ideal roadmap:

Tests in CI

  • Use a Docker container for tests run on the CI (the container should be created from a Docker image which is identical to the production one)

Image build

  • Create a new base Docker image containing node, git, bash and other basic dependencies (edit: done)
  • Build time env vars depending on environment (production, staging...), e.g. Dockerfile path, Docker registry url, Docker image repo, deploy hook, and so on
  • Make deploy optional on CI workflow (how to express the condition?)

Deploy and app restart

  • Use deployer as container (pulls ad image that contains the updated version of the docker-compose.yml)
  • Docker credentials (for server login) as env var
  • (optional) Notify success/failure of build or deploy process (via Slack, email, etc.)

App execution

  • Read environment variables from an internal DB, exposed via a service
  • Use Nginx as container (like in Luca's proof of concept)

Misc

  • (optional in workflow) Database backups
  • (optional in workflow) Database migrations (after deploy, should it be run from the CI or from a script inside the server?)

Both package-lock.json and yarn.lock

It seems that both package-lock.json and yarn.lock are commited.
From a first look seems you just mistmatch to use npm and yarn.
Is this intended?

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.