- PHP 47.7%
- CSS 45.4%
- JavaScript 6.9%
|
|
||
|---|---|---|
| app | ||
| cdn | ||
| public | ||
| .gitignore | ||
| .htaccess | ||
| favicon.png | ||
| index.php | ||
| livingshapes-contact-info.txt | ||
| README.md | ||
LivingShapes portfolio website
Welcome to the github repository from the LivingShapes portfolio website! In this repository you can find every code from the website.
In this repository you could find every code from the LivingShapes Website.
LivingShapes is a fictional architectural firm.
In this readme you could read how to setup this project on your machine and important information
Table of Contents
- License and Copyright
- Technical information
- Folder Structure
- Installation
- Changing document root in Xampp
- Using the product during testing
- Explanation abbriviations
1. License and Copyright
Copyright
This project is from a Skills Heroes assignment, all images and information are owned by Skills Heroes.
The code is owned and created by rileydeman, you aren't allowed to use the codes unless you have permission from the developer.
License
After you got granted permission to use something from this product you can use it for free (personal usage) or paid (commercial use). This is mostly a lifetime license, but it could be that you have restrictions in time, this information will be given to you when you got the permission.
By using something without permission could result in an immediate shut down or payment, depending on what you have used. It is always better to request permission before using something from this product.
2. Technical information
This software has created with the following technical services:
- OS: Windows 11 (and/or 10)
- IDE: PHPstorm (by jetbrains)
- Localhost: Xampp (Apache and MySQL)
- Browser: OperaGX & Google Chrome
- Languages (programming): HTML, CSS, JS, PHP & SQL
- Languages (reading in product): Dutch (NL) and a little bit English (AUS)
- Cloud code saving: Github
Using these technical services is recommended, by using something different could result in getting errors.
3. Folder Structure
-
In the root from the product you see the following items folders and files
- app (folder)
- cdn (folder)
- public (folder)
- .gitignore (file)
- .htaccess (file)
- favicon.ico (image)
- favivcon.png (image)
- favicon.svg (image)
- index.php (file)
- LICENSE (file)
- README.md (file)
-
In the
appfolder you can see all the server side scripts, like adding to a database, updating in a database, and database connection -
In the
cdnfolder you can see all videos and images from the project -
In the
publicfolder you can see all the files from the main site -
The
.htaccessfile is for getting the urls without.phpat the end -
The
index.phpis the index from the webshop, this will automaticly get thepublic/home.phpfile -
The
adminandpublicfolder have anassetsfolder and ancorefolder- The
assetsfolder is for all the assets, like stylesheets, javascript files, fonts, etc. - The
corefolder is for all the important files likeheader.php,footer.php, etc.
- The
4. Installation
If you want to use this product, you need to install this product. In this part from the readme you can read how to do that.
-
Clone the repository to your PC
- If you don't know how to do this, please watch this instruction video.
-
Start XAMPP and change the document root to the correct folder on your PC
- If you do not have XAMPP, please install it from this website and follow the instructions during the installation. Be sure to download Apache and MySQL within the istallation
- Don't know how? Read and follow the steps in chapter 5. Changing document root in xampp
-
Start or restart
apacheand start theMySQL -
Setup the database
- Go to
localhost/phpmyadmin - Create a new database named
living_shapesand DO NOT create a table- Using a other name is not recommended, in case if you do that, change the database name in the
config.inifile (the variable for the database name has calledDB_NAME)
- Using a other name is not recommended, in case if you do that, change the database name in the
- Go to the database you just created
- Then go to
Import - Click on Choose file
- Select the newest database backup file in the
app/db/backupfolder- The date has been noted as
YYYYMMDD
- The date has been noted as
- Then click on the button
openand after that the database has been set - Create in the root a
config.inifile and add the following in the file-
[DB] DB_HOST=localhost DB_PORT=3306 DB_USER=root DB_PASSWORD= DB_NAME=living_shapes
-
- Go to
-
Go to localhost in your web browser
-
Good luck with using the product!
5. Changing document root in xampp
- Go to the folder where the index.php is located from this product
- Copy the path to that folder
- Open xampp
- Click on "config" from the apache service
- Click on the top link named "Apache (httpd.conf)"
- Scoll down until you see something like this
- DocumentRoot "C:\xampp\htdocs"
- <Directory "C:\xampp\htdocs">
- Paste the copied path to both, DocumentRoot and Directory, between the ""
- Save the file
6. Using the product during testing
Main site
You can see the main site without logging in, and you can visit it on localhost in your internet browser.
7. Explanation abbriviations
- OS
- Operation System
- IDE
- Integrated Development Environment
- HTML
- HyperText Markup Language
- CSS
- Cascading Style Sheet
- JS
- JavaScript
- PHP
- Hypertext Preprocessor
- SQL
- Structured query language
- NL
- Netherlands
- AUS
- Australia
(c) rileydeman