|
|
преди 1 година | |
|---|---|---|
| docs | преди 1 година | |
| src | преди 1 година | |
| .gitignore | преди 1 година | |
| README.md | преди 1 година | |
| TODO.md | преди 1 година |
AutoMate is a one-person IT automation project designed to streamline and automate administrative tasks. This project aims to minimize manual work for tasks such as document processing, task management, billing, and reporting through open-source, on-premise tools.
Create a .env file in the project root with the following placeholders (to be replaced with actual values):
'''bash
PAPERLESS_DB_USER=myuser PAPERLESS_DB_PASSWORD=randomGeneratedPassword PAPERLESS_SECRET_KEY=randomGeneratedSecret
NEXTCLOUD_ADMIN_USER=admin NEXTCLOUD_ADMIN_PASSWORD=randomGeneratedPassword
MYSQL_ROOT_PASSWORD=randomGeneratedPassword MYSQL_DATABASE=nextcloud MYSQL_USER=nextcloud MYSQL_PASSWORD=randomGeneratedPassword
KIMAI_DATABASE=kimai KIMAI_USER=kimai_user KIMAI_PASSWORD=randomGeneratedPassword KIMAI_ROOT_PASSWORD=randomGeneratedPassword
KIMAI_ADMIN_USER=kiami_admin_user
KIMAI_ADMIN_PASSWORD=randomGeneratedPassword
KIMAI_ADMIN_EMAIL=kiami@admin.email
'''
To install Docker on a new system, you can use the provided installation script. Run the following commands in the src/scripts directory:
'''bash cd ~/AutoMate/src/scripts ./install_docker.sh '''
This script will install Docker and add the current user to the Docker group. Note: You will need to log out and log back in for the group permissions to take effect.
'''bash cd ~/AutoMate/src/docker '''
Use Docker Compose to start all configured services.
'''bash docker-compose up -d '''
To confirm that all services are running, use:
'''bash docker-compose ps '''
After starting the Paperless-ngx service for the first time, you need to create a superuser (admin) account to access the interface. Follow these steps:
$$$ docker-compose exec paperless python3 manage.py createsuperuser $$$
Provide the Required Information:
Log In to Paperless-ngx:
http://localhost:8000.This setup step is necessary only for the first-time setup or if you need to create additional admin users.
After configuring the environment variables, you can start Kimai for time tracking and management.
Start Kimai:
$$$ docker-compose up -d $$$
Access Kimai:
http://localhost:8081.KIMAI_ADMIN_USER and KIMAI_ADMIN_PASSWORD values you set in .env.Using Kimai:
This setup provides you with a time tracking tool that can work alongside Paperless-ngx and Nextcloud in the AutoMate system.