- JavaScript 60.1%
- PHP 33.8%
- HTML 3.3%
- CSS 2.6%
- Shell 0.2%
| application | ||
| client-side | ||
| dropbox/letterheads | ||
| library | ||
| provision | ||
| proxies | ||
| public | ||
| scripts | ||
| tests | ||
| .bowerrc | ||
| .gitignore | ||
| .yarnrc | ||
| bower.json | ||
| composer.json | ||
| composer.lock | ||
| docker-compose.yml | ||
| drun-yarn.sh | ||
| invoice-max.sql | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| rector.php | ||
| setup-che.sh | ||
| Vagrantfile | ||
| yarn.lock | ||
Invoice Max
Full featured, document centric CRM system with ERP components for KMU.
Configuration
To provide some initial configuration, one needs to modify application/configs/application.ini.
Develop
You only need Vagrant and VirtualBox.
Take puphpet/config.yaml and adapt it to your needs using puphpet.com.
That's it. Run $ vagrant up from the invoice-max directory and visit http://192.168.57.101
You can add the following line to your /etc/hosts file to use http://invoice-max.dev instead:
192.168.57.101 invoice-max.dev
API
./vendor/bin/openapi -o ./public/openapi.yaml -n "*.php" -l ./application
Updates
Simply run ./deploy.sh from the /scripts directory to update to the latest version.
(Don't forget doing vagrant ssh when using it)
Setting Up Your own VirtualHost
The following is a sample VirtualHost you might want to consider to use on your server or local machine.
<VirtualHost invoice-max.local>
DocumentRoot "/var/www/invoice-max/public"
ServerName invoice-max.local
# This should be omitted in the production environment
SetEnv APPLICATION_ENV development
<Directory "/var/www/invoice-max/public">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>
Mail Setup
When using the default configuration you should send mails asynchronously.
For example set the -odb flag for sendmail in php.ini when using exim:
sendmail_path = /usr/sbin/sendmail -t -i -odb
Instead you can connect to any account directly if your internet connection is fast enough.
To do this, just provide the needed information to application.ini.
Optimizations & Tweaks
Pagespeed
ModPagespeedDisallow "*/view-file/*"
ModPagespeedDisallow "*timetracking/index/status-xhr*"