GitXplorerGitXplorer
s

container-owni-oi

public
0 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
7663ea792f3a062c963d34f45d867faf2061b304

Update CHANGELOG.md [skip ci]

ssumitgohil committed a year ago
Unverified
459dc7a62f12b4173f918bad2a9a2a8625012a9d

Added deploy.yml file

ssumitgohil committed a year ago
Unverified
855bb5166c8a872f3f68609e6e08b239e63f958e

Added release.yml file

ssumitgohil committed a year ago
Unverified
9750049bf35151870bbf8c4e19f253bffc3abb8d

Added deploy.sh file

ssumitgohil committed a year ago
Unverified
43409ee6439739db37ab45051c87a46b7d9beb64

Added .autorc file

ssumitgohil committed a year ago
Unverified
69f568a027ea10e4f02e5cc410fb9c8d9d8a0cdc

Added amber.yaml secrets file

ssumitgohil committed a year ago

README

The README file for this repository.

Go forth and build! 🚀

Tutorial: How to make your first commit 📹:

This video example shows how to:

  • Edit your container code
  • Raise a new pull request
  • Deploy the newest version automatically 🚀

https://user-images.githubusercontent.com/1718624/216366290-9bcac918-8605-4cf5-a98a-75bb8f722966.mp4

By now, you have deployed a container, and in moments, you can visit your app live!

Be patient! In ~3 mins your app is live, at your app url. It even has a free SSL/TLS certificate 🔒 you're welcome!

You probably want to add code to your app. Good news, your app is ready right now to start coding, which is simple:

  1. Edit your code
  2. Commit your code
  3. Push your code git push origin main

Your app will be automatically re-deployed with the latest code at: https://container-owni-oi.containers.anotherwebservice.com/

You app is deployed already and is working software. Gone are the days of spending weeks coding and then another week going to production. No. Go to production early and respond to change.

Getting Started 💻 (locally on your laptop)

Step 0: You need to download your repo to your computer:

git clone git@github.com:sumitgohil/container-owni-oi.git
cd container-owni-oi

See an error? You might need to setup permissions here's a guide how to setup repo clone permissions

  1. Install docker

  2. Start your container locally: docker-compose up

  3. Visit your app locally: http://127.0.0.1:5000/

View your app locally

Visit: http://127.0.0.1:5000/

Rebuild container (locally)

If you make changes to Dockerfile, then you need to rebuild your container image. To rebuild the container image:

docker-compose build
# or 
docker-compose up --build

Start coding! Which framework did you choose?

Need some help to get started?

Debugging

How do I turn on the debugger?

Enable a breakpoint by adding breakpoint() to your code, start your application and run to that point then in a terminal type:

docker attach container-owni-oi

Ta-da! You'll be inside the Python debugger ( ⬅️ Read this!)

Questions