- Clone the repo onto your computer
- Download nodejs if you don't have it
- Open a terminal, navigate to the new directory, and run
npm install
- Download XAMPP if you dont have it
- Configure Apache to serve the new build folder
- Start the Apache server
- Start the MySQL server
- Go to
phpMyAdmin
- Create a new database
- Create a user to interact with this database
- Create a
.env
file in thepublic/php/vars
folder - Populate the
.env
file with php variables of the database credentials - Populate the database using the SQL Files
- Run
npm run build
- You should be able to visit
localhost
with no issue
- NodeJS
- package.json contains additional nodejs modules
- XAMPP
- Bootstrap
- Run
npm run build
to compile the website for production - Run
npm test
to run the basic tests
Once you've compiled and built the website, you can simply transfer the files to your server.
I personally sftp
ed them to my server using a .vscode sftp config file.
However, you can also scp
or otherwise.