mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-06-10 12:23:12 +00:00
Adding Image Group Functions
This commit is contained in:
parent
410a8f8943
commit
6d3012a4f7
8 changed files with 337 additions and 25 deletions
27
README.md
27
README.md
|
@ -7,10 +7,10 @@
|
|||
The only gallery made by a maned wolf
|
||||
|
||||
## Special thanks
|
||||
- Carty: Kickstarting development and SQL/PHP development
|
||||
- Jeetix: Helping patch holes in some features
|
||||
- mrHDash, Verg, Fennec, Carty, Jeetix and everyone else for helping with early bug testing
|
||||
- <a class='link' href="https://phosphoricons.com/">Phosphor</a> for providing nice SVG icons
|
||||
* Carty: Kickstarting development and SQL/PHP development
|
||||
* Jeetix: Helping patch holes in some features
|
||||
* mrHDash, Verg, Fennec, Carty, Jeetix and everyone else for helping with early bug testing
|
||||
* <a class='link' href="https://phosphoricons.com/">Phosphor</a> for providing nice SVG icons
|
||||
|
||||
## How to setup
|
||||
### Downloading & installing
|
||||
|
@ -57,16 +57,16 @@ If you run into errors with connecting to the database, you may need to install
|
|||
|
||||
You first need to head over to ```app/server/conn.php``` and set the correct information, if you're using localhost, this should be the following details:
|
||||
|
||||
- localhost
|
||||
- (username)
|
||||
- (password)
|
||||
- Gallery
|
||||
* localhost
|
||||
* (username)
|
||||
* (password)
|
||||
* Gallery
|
||||
|
||||
I recommend using a database name such as Gallery, but others should work just as well.
|
||||
|
||||
I also recommend not using root for this and setting up a user specifically for this, but I will not go through the process of making a such user here.
|
||||
|
||||
You will next need to setup the following 5 tables:
|
||||
You will next need to setup the following 6 tables:
|
||||
|
||||
#### Images
|
||||
CREATE TABLE images (
|
||||
|
@ -112,6 +112,15 @@ You will next need to setup the following 5 tables:
|
|||
permanent BOOL NOT NULL
|
||||
);
|
||||
|
||||
### Groups
|
||||
CREATE TABLE groups (
|
||||
id INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
||||
image_list VARCHAR(255),
|
||||
author VARCHAR(50),
|
||||
last_modified TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
|
||||
### Manifest
|
||||
In the ```app/settings/manifest.json``` you have a list of infomation about your website. You must change ```user_name``` to your prefered name, ```is_testing``` to false (or anything else) as that is used for development and ```upload_max``` to your prefered file size max in MBs.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue