Update README.md

This commit is contained in:
Victor Westerlund 2025-02-05 04:44:42 +00:00
parent 234c6c68a6
commit ecd9c4e3cc

View file

@ -1,5 +1,5 @@
# vlw.se # vlw.se
This is the source code behind [vlw.se](https://vlw.se) which is my personal website that I have written and designed from the ground up. The website is built on top of my own [web framework](https://vegvisir.vlw.se) and its API is also built on top of my own [API framework](https://reflect.vlw.se). This is the source code behind [vlw.se](https://vlw.se) which is my personal website that I have written and designed from the ground up. The website is built on top of my own [web framework](https://vegvisir.vlw.se) and its API is also built on top of my own [API framework](https://reflect.vlw.se).
# Installation # Installation
Here's how you get my website up and running on your own machine. Note, I have only tested this on Linux and the install script we will run later is written in bash. Here's how you get my website up and running on your own machine. Note, I have only tested this on Linux and the install script we will run later is written in bash.
@ -40,10 +40,10 @@ cd /var/www/vlw.se
./install.sh ./install.sh
``` ```
## 4. Import the database template ## 4. Import the database templates
There's an SQL file that you can download from the releases page that has a snapshot of the MariaDB database I use on my live website. The snapshot data is not guaranteed to be up to date; but the database structure will be. Download and import this file into an existing database. There's are two SQL files that you can download from the releases page that has a snapshot of the MariaDB databases I use on my live website. The snapshot data for the website databse is not guaranteed to be up to date; but the database structure will be. Download and import these files into two existing databases. One for the website data, and the other has the Reflect API configurations.
- [Download SQL-snapshot](https://codeberg.org/vlw/vlw.se/releases) - [Download SQL-snapshots](https://codeberg.org/vlw/vlw.se/releases)
## 5. Set environment variables ## 5. Set environment variables
Make a copy of the `.env.example.ini` file called `.env.ini` from the root directory of the repo. There are a few parameters you can change here but the required ones are the following: Make a copy of the `.env.example.ini` file called `.env.ini` from the root directory of the repo. There are a few parameters you can change here but the required ones are the following: