The TryingToScale PHP framework.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Robert b95490c165 enc use wipe to fallback to unset if sodium not installed. Fixed size name issues with vars be called bit when their bytes. 3 years ago
documents encryption bechmarks. 3 years ago
src enc use wipe to fallback to unset if sodium not installed. Fixed size name issues with vars be called bit when their bytes. 3 years ago
.gitignore first commit 3 years ago
LICENSE first commit 3 years ago
README PHP 8.2 3 years ago
composer.json (c) 3 years ago

README

# Trying To Scale - PHP 8.x Framework

#### tts for short...is a collection of scripts I really liked...and made improvements on or made from scratch...

## Install clone/place these files into: /var/www/frames/tts_framework via:

```
cd /var/www
mkdir frames
cd frames
git clone https://git.mysnippetsofcode.com/tts/tts_framework
```

HTML Purifier Cache folder needs web server write access:

```
cd /var/www/frames/tts_framework/vendor/ezyang/htmlpurifier/library
chgrp www-data HTMLPurifier/DefinitionCache/Serializer
```

### Install the vendor files:

```
cd /var/www/frames/tts_framework
composer install
```
### Install sample project:

```
cd /var/www
git clone https://git.mysnippetsofcode.com/tts/tts_project
```

### To run fix your PROJECT folder permissions for the web server GROUP via:

```
#### Ensure folders group has read/write/execute permissions first (chmod g+rwx), then do:
cd /var/www/tts_project
chgrp www-data logs/
chmod g+s logs/

cd configs
chgrp www-data ex/ mockup/ live/
chmod g+s ex/ mockup/ live/
cd ../services
chgrp www-data ex/ mockup/ live/
chmod g+s ex/ mockup/ live/
```

Important Note: Any changes that you make to the files inside of: configs or services,
will require that the loadall.php in those folders be deleted to get remade...
on next page load!