welcome to my hand-crafted personal website and coding sandbox 🛠
-
PHP 8 or newer.
-
composer for updating PHP dependencies.
if you'd prefer not to install composer globally, the executable
composer.phar
file (located in the/bin
directory) can be used instead - more on that in the instructions. -
MariaDB or MySQL for the database.
-
clone this repository to your machine:
-
via
composer
(global installation) - this will automatically install the required dependencies:-
latest:
composer create-project jasm1nii/jasmines-journal:dev-main
-
stable:
composer create-project jasm1nii/jasmines-journal
-
-
via
git
CLI:-
latest:
git clone https://github.com/jasm1nii/jasmines-journal
-
stable:
git clone https://github.com/jasm1nii/jasmines-journal --branch (version tag)
-
-
via direct download as a
.zip
archive:
-
-
if you haven't already, install the required dependencies:
-
via
composer
(global installation):composer install
-
via
composer.phar
:php bin/composer.phar install
-
-
configure your web server to use
/public_html
as the document root, as well as to redirect requests for nonexistent files to/public_html/index.php
.- for apache, an
.htaccess
file is already included to handle the latter, but ensure to set the former in yourhttpd.conf
file.
- for apache, an
-
that's it! you can now view this site at whatever localhost address you've set 👾
per version 2.3, a guestbook_sample.sql
file is provided in the /resources/databases
directory. to use it, you'll need to import the file manually to your server database. after that, tweak any parameters as needed in /config/env_sample.ini
and /config/src_paths.php
.