update README.md

This commit is contained in:
HorizonCode 2022-08-08 14:56:11 +02:00
parent b2eec1be05
commit c23c09441f

View File

@ -2,8 +2,63 @@
This branch is a rewrite of the [previous in Java Developed branch](https://git.ez-pp.farm/HorizonCode/SysBackup/src/branch/archived), rewritten in NodeJS. This branch is a rewrite of the [previous in Java Developed branch](https://git.ez-pp.farm/HorizonCode/SysBackup/src/branch/archived), rewritten in NodeJS.
## Setup
### Requirements ### Requirements
- NodeJS 16 `(only tested version yet)` - NodeJS 16 `(only tested version yet)`
### Contributing You can either: [Build a executeable](#build-a-executeable) or [Runing from Source](#running-from-source)
### Build a executeable
#### Extra Requirements
- pkg
#### Aquire SysBackup
```bash
git clone https://git.ez-pp.farm/HorizonCode/SysBackup
```
#### Installing Dependencies
```bash
cd /path/to/sysbackupclone/
# with NPM
npm i
# or with PNPM
pnpm i
# or with Yarn
yarn install
# Install pkg global
npm i pkg -g
```
#### Building the executeable
```bash
# with NPM
npm run pkg
# or with PNPM
pnpm run pkg
# or with Yarn
yarn run pkg
```
Your builded binary executeable should be in bin/
### Running from Source
#### Aquire SysBackup
```bash
git clone https://git.ez-pp.farm/HorizonCode/SysBackup
```
#### Running
```bash
cd /path/to/sysbackupclone/
node index.js
```
## Contributing
Please read our [CONTRIBUTING.md](https://git.ez-pp.farm/HorizonCode/SysBackup/src/branch/master/CONTRIBUTING.md) to read how to contribute! Please read our [CONTRIBUTING.md](https://git.ez-pp.farm/HorizonCode/SysBackup/src/branch/master/CONTRIBUTING.md) to read how to contribute!