documentation update

This commit is contained in:
2025-04-25 19:36:56 -07:00
parent 7e877465a6
commit 5d2281b713
2 changed files with 61 additions and 53 deletions

View File

@@ -11,20 +11,20 @@ Master Repo: https://git.4lt.ca/4lt/novaconium
## Getting Started
### Installation
### Installation (docker)
```bash
mkdir project_name;
cd project_name;
# Native
composer require 4lt/novaconium
# Composer
docker run --rm --interactive --tty --volume $PWD:/app composer require 4lt/novaconium
docker run --rm --interactive --tty --volume $PWD:/app composer:latest require 4lt/novaconium
cp -R vendor/4lt/novaconium/defaults/App/ .
cp -R vendor/4lt/novaconium/defaults/public/ .
```
#### Compose install (debian)
### Install Composer on Debian
```bash
sudo nala install curl php-cli php-mbstring git unzip
@@ -33,6 +33,20 @@ sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer
rm composer-setup.php
```
## APP Database config
Open the /App/config.php file and change the database section to match the above:
```php
'database' => [
'host' => 'mariadb',
'name' => 'mydb',
'user' => 'dbuser',
'pass' => 'AlsoChangeThisPassword0123456789',
'port' => 3306
],
```
## Documentation
* [Docker Setup](https://git.4lt.ca/4lt/novaconium)