Skip to content

vigneshkannan255/frappe-docker

Repository files navigation

a web framework with "batteries included"

Full-stack web application framework that uses Python and MariaDB on the server side and a tightly integrated client side library. Built for ERPNext.

Installation with Docker

This script is used to run Frappe on docker container.

Prerequisites

Linux packages

▶ apt install docker.io docker-compose

clone

▶ git clone https://github.com/vigneshkannan255/frappe-docker.git
▶ cd frappe-docker

Note: Before running below command please change the IP address and database credentials in docker-compose.yaml

Docker compose

This command is used to make the docker compose up with detached mode.

Note: Always we need to run docker-compose command inside the directory where we place the docker-compose.yaml file

▶ docker-compose up -d

After running the above command

  • It will pull the required docker image from the official repository and store it in local.
  • It will start the container with the pulled images.
  • It will create the required volumes to store data.
  • It will create the required network.

Images and Services

Docker commands

command used to check the docker process.

▶ docker-compose ps -a

command used to check the bring down the containers.

▶ docker-compose stop 

command used to down all whole docker compose.

▶ docker-compose down

commands used to check the available docker images, container, volume and network.

▶ docker image ls
▶ docker container ls
▶ docker volume ls
▶ docker network ls

commands used to login container.

▶ docker exec -it container_id /bin/bash

commands to change permission of directory after login to container.

▶ sudo chown -R frappe:frappe /workspace/development

Here After you can you can initiate frappe bench and start creating websites.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published