Based on https://github.com/frappe/frappe_docker/blob/main/docs/development.md
Clone git repo
git clone https://github.com/frappe/frappe_docker.git
cd frappe_docker
Based on https://github.com/frappe/frappe_docker/blob/main/docs/development.md
Clone git repo
git clone https://github.com/frappe/frappe_docker.git
cd frappe_docker
| deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse | |
| deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse | |
| deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse | |
| deb-src http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse | |
| deb http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse | |
| deb-src http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse | |
| deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse |
| <VirtualHost *:80> | |
| DocumentRoot "/home/dev/server/project/dist/" | |
| ServerName vuejs.project.local | |
| <Directory /home/dev/server/project/dist/> | |
| Options Indexes FollowSymLinks MultiViews | |
| AllowOverride all | |
| Require all granted | |
| Order allow,deny | |
| allow from all |
| // GET all | |
| fetch('/message/').then(response => response.json().then(console.log)) | |
| // GET one | |
| fetch('/message/2').then(response => response.json().then(console.log)) | |
| // POST add new one | |
| fetch( | |
| '/message', | |
| { |
| <?php | |
| /** | |
| * CIDR.php | |
| * | |
| * Utility Functions for IPv4 ip addresses. | |
| * Supports PHP 5.3+ (32 & 64 bit) | |
| * @author Jonavon Wilcox <jowilcox@vt.edu> | |
| * @revision Carlos Guimarães <cvsguimaraes@gmail.com> | |
| * @version Wed Mar 12 13:00:00 EDT 2014 | |
| */ |