add new install

This commit is contained in:
Ibnu Maksum
2023-03-06 14:52:09 +07:00
parent ec45d59a68
commit fc6a5a26eb
2 changed files with 53 additions and 0 deletions

View File

@ -44,6 +44,8 @@ The problem with windows is hard to set cronjob, better Linux
## Installation
### Git Clone
clone this repository or download zip or release
1. Rename **pages_template** to **pages**
@ -53,6 +55,41 @@ clone this repository or download zip or release
5. set [cronjob](https://github.com/hotspotbilling/phpnuxbill/wiki/Cron-Jobs) or scheduller for **system/cron.php**
6. make **config.php** unwriteable (chmod 644)
### Composer install
Go to directory you want to install
Install Composer in your system
```bash
# Debian/Ubuntu
sudo apt install composer
# Centos/Redhat
sudo yum install composer
```
install on curent directory
```bash
composer create-project hotspotbilling/phpnuxbill .
```
install on new directory
```bash
composer create-project hotspotbilling/phpnuxbill phpnuxbill
```
## Manual Installation
1. Download project from [Master Branch](https://github.com/hotspotbilling/phpnuxbill/archive/refs/heads/master.zip) or from [Release](https://github.com/hotspotbilling/phpnuxbill/releases)
2. unzip and upload it to server
3. Rename **pages_template** to **pages**
4. Rename **config.sample.php** to **config.php** and make it writeable (chmod 777)
5. make writeable folder **ui/cache/** and **ui/compiled**
6. Open web and run installation
7. set [cronjob](https://github.com/hotspotbilling/phpnuxbill/wiki/Cron-Jobs) or scheduller for **system/cron.php**
8. make **config.php** unwriteable (chmod 644)
## UPDGRADE
for old version, below Version 6, backup **system/config.php**, delete all file except folder **pages**, upload all new files, put **config.php** in root folder (not in system folder), got to folder **/install** and run Update.