pipe docker piper dock pidock pi dock pipe dock con dock
<script type="module"> import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs'; mermaid.initialize({ startOnReady:true, theme: 'forest', flowchart:{ useMaxWidth:false, htmlLabels:true } }); mermaid.init(undefined, '.language-mermaid'); </script>
CONTRIBUTION are always welcome:
- did you found an Issue or Mistake?
- do you want to improve the article?
- are you interested do join another git projects?
- have something to contribute or discuss? Open a pull request or create an issue.
wget https://raw.githubusercontent.com/flatedit/bash/main/flatedit.sh
chmod +x flatedit.sh
./flatedit.sh update./flatedit.sh install
./flatedit.sh init
./flatedit.sh./flatedit install
./flatedit init
./flateditZainstaluj biblioteki Pythona, jeśli jeszcze tego nie zrobiłeś. Możesz to zrobić używając pip:
py -m pip install --upgrade pip
py -m pip install --upgrade setuptools
py -m pip install --upgrade wheel
py -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`py -m pip install -r requirements.txtPliki Dockerfile i docker-compose.yml umożliwiaj konteneryzację aplikacji React.js (src) i backendu Express, co sprawia, że aplikacja staje się bardziej przenośna i łatwa do wdrożenia.
Dzięki Docker i Docker Compose możesz uruchomić złożone środowiska wielokontenerowe jedną komendą, co znacznie upraszcza zarządzanie i skalowanie aplikacji.
cd backend
docker build -t .cd ..cd src
docker build .docker compose up --buildJeśli wystąpią problemy, sprawdź logi za pomocą:
docker compose logsdocker compose downIf you need your build to connect to services running on the host, you can use the special host-gateway value for --add-host. In the following example, build containers resolve host.docker.internal to the host's gateway IP.
docker build --add-host host.docker.internal=host-gateway .- update project
- Modular Documentation made possible by the FlatEdit project.