1
0
mirror of https://github.com/AR2000AR/openComputers_codes.git synced 2025-09-08 14:41:14 +02:00

repo-installer manual installation instructions

This commit is contained in:
2023-01-19 21:55:57 +01:00
parent 7d8e1bdc6e
commit 2fca23d783
2 changed files with 26 additions and 4 deletions

View File

@@ -1,10 +1,26 @@
# OpenComputers codes
My lua programs for openComputers.
---
## Installation
## Installation with oppm
- install oppm
- run `oppm register AR2000AR/openComputers_codes`
- run `oppm install <package>`
## OPPM bug
Because of a bug in oppm (Issue : https://github.com/OpenPrograms/Vexatos-Programs/issues/30) (PR : https://github.com/OpenPrograms/Vexatos-Programs/pull/31), please use [repo-installer](repo-installer/) to install any of programs until the bug get fixed.
### Install repo-installer manually
```
mkdir /usr/bin/ /usr/misc/repo-installer/
wget https://raw.githubusercontent.com/AR2000AR/openComputers_codes/master/repo-installer/bin/instgen.lua /usr/bin/instgen.lua
wget https://raw.githubusercontent.com/AR2000AR/openComputers_codes/master/repo-installer/misc/repo-installer/repoinstaller.lua /usr/misc/repo-installer/repoinstaller.lua
```
### Create the installation floppy
Get a empty floppy disk and run :
```
$ instgen AR2000AR/openComputers_codes <floppy path>
```
### Install a package
With the floppy in the machine run `install`. No internet card is required.
---
## Banking system
The bank is made of 2 main part : the server and a client. The client can be an ATM or a app to manage accounts.

View File

@@ -11,10 +11,16 @@ There must be a *master/* folder, containing a *programs.cfg* file on the disk,
A script to download an oppm repository to create an installer (including install script).
**Note :** Only github is supported for the `:` prefix in a package's file list.
Installation :
### Installation
#### From oppm
`oppm install instgen`
Usage:
#### Manually
```
mkdir /usr/bin/ /usr/misc/repo-installer/
wget https://raw.githubusercontent.com/AR2000AR/openComputers_codes/master/repo-installer/bin/instgen.lua /usr/bin/instgen.lua
wget https://raw.githubusercontent.com/AR2000AR/openComputers_codes/master/repo-installer/misc/repo-installer/repoinstaller.lua /usr/misc/repo-installer/repoinstaller.lua
```
### Usage
```
instgen AR2000AR/openComputers_codes /mnt/04d/