Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eccenux/wlm-zabytki-deploy
https://github.com/eccenux/wlm-zabytki-deploy
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/eccenux/wlm-zabytki-deploy
- Owner: Eccenux
- Created: 2024-08-23T22:03:28.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-23T22:33:58.000Z (5 months ago)
- Last Synced: 2024-11-06T15:27:18.466Z (2 months ago)
- Language: PHP
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Deployment Script
This project provides a PHP-based deployment script that allows you to automate the deployment of WLM project.
The script is designed to securely deploy files by validating access tokens. Separe access tokens are provided for a test installation and main installation.
## Prerequisites
- PHP installed on the server.
- Git installed on the server.
- Access to a web server that can execute PHP scripts.
- A public GitHub repository.## Configuration
### `.config.php`
The deployment script requires a configuration file named `.config.php` in the root directory. This file should contain the following information:
```php
'https://github.com/yourusername/your-repository.git',
'deploy_path_testing' => '/path/to/your/testing/environment',
'deploy_path_main' => '/path/to/your/production/environment',
'token_testing' => 'your_testing_token',
'token_main' => 'your_production_token'
];