Skip to content

ammarnajjar/reading-todo

Repository files navigation

reading-todo

Build Deployment Total alerts Language grade: JavaScript Maintainability

An app to manage a reading todo list

Releases are automatically deployed on heroku

I am starting this maily for educational purposes.

For changes refer to CHANGELOG.md

Development

Build and Run

Ansible

https://docs.ansible.com/ansible/latest/user_guide/playbooks.html

This will create a python3 virtual environment and run ansible playbook inside of it.

ansible/play ansible/playbook.yml -i ansible/hosts.yml
docker-compose

https://docs.docker.com/compose/

docker-compose up --build
podman-compose

https://github.com/containers/podman-compose

sudo podman-compose up --build
tilt

https://tilt.dev/

  • Deploy:

    tilt up --no-browser --hud=false --watch=false
  • Access to client:

    ```bash
    kubectl port-forward deployment/client 3300:80
    ```
    
direnv

https://github.com/direnv/direnv

Source the .envrc file which adds some scripts to the PATH

ci        # => run ci pipeline

compose   # => docker-compose locally

cicd      # => run ci pipeline then compose

deploy    # => deploy to kubernetes locally

Browse the deployment