Skip to content

aphrc-nocode/no-code-devops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DevOps for the No-Code Platform

Overview

This repo combines all the components of the back- and front- end to provide a seamless integration and workflow. It integrates Docker workflow to run the APHRC no-code APP.

Requirements

  1. Install Docker
  2. Ensure the docker is running
  3. Clone the repo

Linux OS (or WSL)

Window users can also run the APP via WSL. See WSL for installation instructions.

From the terminal run:

Build docker image

  • Choose whether to rebuild the image or use old image. The default (Enter) will check if the image exists and do nothing, otherwise rebuild.

     make build
    

Start a container

  • Choose whether to run local image or Dockerhub image. The default (Enter) will prioritize local.

     make run
    

Stop running container

make stop

Push local image to Docker Hub

  • Create account in Docker Hub

  • Login to Docker Hub from your local machine

     docker login
    
  • Change the DOCKERHUB_USERNAME = scygu variable in the Makefile or Makefile.cmd and Docker compose file by replacing scygu with your_dockerhub_username (Docker hub user name). Then

     make push
    

Windows OS

For Windows OS, navigate to the directory containing Makefile.cmd and open cmd, then for all the commands above, replace make with Makefile.cmd, e.g., to build image

Makefile.cmd build

Trouble shooting

  • For help on available commands

     make help
    

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published