3 Commits

Author SHA1 Message Date
ad6e07c76d fixed css and changed timezone 2026-05-04 11:30:14 -07:00
06310d9eb9 Updated readme and composer 2026-05-03 13:27:30 -07:00
f679d0b20e safety fix 2026-02-07 17:26:26 -08:00
5 changed files with 14 additions and 14 deletions

View File

@@ -6,13 +6,20 @@ NovaconiumPHP is a high-performance PHP framework designed with inspiration from
Pronounced: Noh-vah-koh-nee-um Pronounced: Noh-vah-koh-nee-um
Packagist: https://packagist.org/packages/4lt/novaconium * Packagist: https://packagist.org/packages/4lt/novaconium
Master Repo: https://git.4lt.ca/4lt/novaconium * Master Repo: https://git.4lt.ca/4lt/novaconium
## Getting Started ## Getting Started
Novaconium is heavly influenced by docker, but you can use composer outside of docker. Novaconium is designed to be developed primarily using Docker. Instead of relying on tools installed directly on your system, common development tasks are executed inside containers:
You can [learn more about how novaconium works with composer](https://git.4lt.ca/4lt/novaconium/src/branch/master/docs/Install-Composer-On-Debian.md).
* Composer runs inside a Docker container rather than on your host machine
* Apache / PHP are served from containers instead of your local environment
* Sass compilation is also handled within a container
As long as you have Docker installed, you can use the full development environment without installing additional dependencies on your system.
You can [learn more about how novaconium works with composer](https://git.4lt.ca/4lt/novaconium/src/branch/master/docs/Composer.md).
```bash ```bash
PROJECTNAME=novaproject; PROJECTNAME=novaproject;

View File

@@ -8,7 +8,7 @@ Update novaconium with composer in docker: ```docker run --rm --interactive --tt
## Install Composer natively on Debian ## Install Composer natively on Debian
Assuming you have nala installed: Assuming you have nala installed (otherwise use apt-get):
```bash ```bash
sudo nala install curl php-cli php-mbstring git unzip sudo nala install curl php-cli php-mbstring git unzip

View File

@@ -5,8 +5,6 @@ services:
ports: ports:
- "8000:80" - "8000:80"
volumes: volumes:
- "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro"
- ./novaconium:/data - ./novaconium:/data
- ./data/logs:/var/log/apache2 # Optional Logs - ./data/logs:/var/log/apache2 # Optional Logs
- "./logs:/data/logs" - "./logs:/data/logs"
@@ -29,8 +27,6 @@ services:
MYSQL_USER: novaconium MYSQL_USER: novaconium
MYSQL_PASSWORD: ${MYSQL_PASSWORD} MYSQL_PASSWORD: ${MYSQL_PASSWORD}
volumes: volumes:
- "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro"
- ./data/db:/var/lib/mysql - ./data/db:/var/lib/mysql
networks: networks:
- internal - internal
@@ -49,9 +45,6 @@ services:
- PMA_USER=root - PMA_USER=root
- PMA_PASSWORD=${MYSQL_ROOT_PASSWORD} - PMA_PASSWORD=${MYSQL_ROOT_PASSWORD}
- UPLOAD_LIMIT=200M - UPLOAD_LIMIT=200M
volumes:
- "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro"
networks: networks:
proxy: proxy:

View File

@@ -75,7 +75,7 @@ class Router {
foreach ($this->routes as $key => $value) { foreach ($this->routes as $key => $value) {
// Check if key contains a curly bracket, if not continue. We already checked above. // Check if key contains a curly bracket, if not continue. We already checked above.
if (!strpos($key, '{')) continue; if (strpos($key, '{') === false) continue;
// Remove everything after the curly bracket, from key // Remove everything after the curly bracket, from key
$keyPath = substr($key, 0, strpos($key, '{')); $keyPath = substr($key, 0, strpos($key, '{'));

View File

@@ -39,7 +39,7 @@
> >
{# STYLESHEET #} {# STYLESHEET #}
<link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/css/novaconium.css">
{# highlight.js #} {# highlight.js #}
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>