Dockerized React اور Django - مفت نمونہ PlatoBlockchain ڈیٹا انٹیلی جنس۔ عمودی تلاش۔ عی

ڈاکرائزڈ ری ایکٹ اور جیانگو - مفت نمونہ

ہیلو کوڈرز!

This article presents an open-source full-stack app built with React & Django bundled together under the same میں Docker setup. Once the sources are downloaded locally, if Docker is present, the product can be started with minimal effort, and all changes made on the sources for both components (React & Django) are pushed to the Docker container instantly. Thanks for reading!

Being released the MIT License، میں Docker scripts provided in this sample can be used or incorporated into other projects or simply used for eLearning activities.


✨ How to use the project

Before using the project, we need to have Docker properly installed and usable. If we’re not sure about this fact, we can easily check by typing docker --version in the terminal. In my case, the output is this:

$ docker --version
>>> Docker version 20.10.14, build a224086

If the output looks good, we can move on and start the mentioned project using Docker.

؟؟؟؟ مرحلہ 1 - Download the code

$ git clone https://github.com/app-generator/sample-docker-django-react.git
$ cd sample-docker-django-react

؟؟؟؟ مرحلہ 2 - شروع کریں۔ APP in Docker

$ docker-compose up --build 

At this point, the app runs, but the database is not migrated yet.


؟؟؟؟ مرحلہ 3 - Migrate DB

$ docker-compose run --rm appseed-app python manage.py makemigrations
$ docker-compose run --rm appseed-app python manage.py migrate

؟؟؟؟ مرحلہ 4 - Access the APP

Here, the app is fully usable, we can register new users, authenticate and access the private pages just like in this LIVE Demo.

Dokerized Django & React - Dashboard Page.


Thanks for reading! مزید وسائل کے لیے، براہ کرم رسائی حاصل کریں:

  • 🚀 مفت حمایت AppSeed کے ذریعہ فراہم کردہ (ای میل اور ڈسکارڈ)
  • 👉 مزید مفت ایپس فلاسک، جینگو، اور میں تیار کیا گیا جواب دیں

ٹائم اسٹیمپ:

سے زیادہ Codementor React Fact