A tool to automate Frappe Framework setup with Docker
Project description
Frappe Setup
A Python package to automate Frappe Framework setup with Docker for local development. This tool simplifies the process of setting up Frappe/ERPNext development environment using Docker containers.
System Requirements
Before installation, ensure your system meets these requirements:
Software Requirements
- Python 3.6 or higher
- pip (Python package manager)
- Docker Engine
- Docker Compose
- Visual Studio Code
- Git
Hardware Requirements
- Minimum 4GB RAM (8GB recommended)
- 20GB free disk space
- x86_64 processor architecture
Operating System
- Ubuntu 20.04 or higher (primary support)
- Other Linux distributions (may work but not officially supported)
Pre-Installation Steps
- Install Docker (if not already installed):
Installation
Access your site at: http://development.localhost:8000
Default credentials:
- Username: Administrator
- Password: admin
Uninstallation
Method 1: Using CLI (Recommended)
- Run the uninstall command:
Development Notes
- The development environment runs in a Docker container
- Code changes are synchronized in real-time
- Use VS Code's integrated terminal for bench commands
- Development site uses .localhost domain for local development
Contributing
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
License
MIT License - see LICENSE file for details
Support
- GitHub Issues: Create an issue
- Documentation: Frappe Framework Documentation
- Community Forum: Frappe Forum
Acknowledgments
- Frappe Framework Team
- Docker Community
- VS Code Remote Containers Team
Frappe Setup Tool
A Python package to automate Frappe Framework setup with Docker.
Table of Contents
- Installation Guide
- Usage Guide
- Uninstallation Guide
- Troubleshooting
- System Requirements
- Directory Structure
- Common Issues
System Requirements
Software Requirements
- Python 3.6+
- Docker
- Docker Compose
- Visual Studio Code
- Git
Hardware Requirements
- Minimum 5GB disk space
- 4GB RAM recommended
- Stable internet connection
Installation Guide
1. Install Package
This command will:
- Clone the frappe_docker repository
- Set up development container configurations
- Install VS Code Remote Container extension
4. Setup Bench and ERPNext
This command will:
- Initialize the development container
- Set up Frappe Bench
- Configure database and Redis
- Create a new site
- Install ERPNext
5. Access Your Site
- URL: http://development.localhost:8000
- Username: Administrator
- Password: admin
Usage Guide
Development Environment
- Navigate to your project directory
- Open VS Code:
code . - Click "Reopen in Container" when prompted
- Wait for container setup to complete
Container Management
Verify frappe-setup installation which frappe-setup Check Python version python --version Check Docker status sudo systemctl status docker bash Fix directory permissions sudo chown -R $USER:$USER my_frappe_project bash Restart Docker service sudo systemctl restart docker
Common Issues
1. Port Conflicts
Default ports used:
- 8000 (Web)
- 9000 (Developer)
- 3306 (Database)
Solution: Ensure these ports are available or modify docker-compose.yml
2. Container Access Issues
If unable to access containers: Check container status docker ps View container logs docker logs [container_name] Restart containers docker-compose restart
3. VS Code Integration
- Install "Remote - Containers" extension
- Use "Reopen in Container" when prompted
- Wait for container setup to complete
4. Database Issues
- Default MariaDB root password: 123
- Default site: development.localhost
- Default admin password: admin
Important Notes
Before Installation
- Ensure Docker is running
- Close VS Code
- Check system requirements
- Verify internet connection
During Installation
- Don't interrupt the process
- Keep internet connection stable
- Monitor Docker logs for issues
After Installation
- First site access might be slow
- Development mode is enabled by default
- Check all services are running
Before Uninstallation
- Backup important data
- Stop all containers
- Close VS Code
License
MIT License
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Support
For support, please create an issue in the GitHub repository.
This README.md provides: Clear installation instructions Usage guidelines Troubleshooting steps Common issues and solutions System requirements Directory structure 7. Important notes for users
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file frappe-setup-0.1.3.tar.gz.
File metadata
- Download URL: frappe-setup-0.1.3.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84beeb6cf69c6209eafd9b6cebb11999420716bb55c3649356f789b9c1c5e332
|
|
| MD5 |
52108ac36fa649b0fde90a5fdb72a260
|
|
| BLAKE2b-256 |
f923e543823da71fdc3d65724969822900511d0586e7a7b0d15d76a2363770ea
|
File details
Details for the file frappe_setup-0.1.3-py3-none-any.whl.
File metadata
- Download URL: frappe_setup-0.1.3-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5b59e621b54741f405600b6acd4fca2cf582a9f0ca4fd022fa4b5bd364a8840
|
|
| MD5 |
499d09ea43a80e5ea1e3554930efae2b
|
|
| BLAKE2b-256 |
3aa1a4a8fde94dfe3e54604c10147db4772a0688e5a6cc2834239a9d60e6558c
|