Hi there, this repo is regarding the job offer @ https://stackoverflow.com/jobs/204945/lead-full-stack-developer-brandboom
Go to http://samuca.com/brandboom-imagepreview/ and simple use the application. Drag and drop one image to the body of the page, to see it in action.
cd /var/www/html/ [enter]
git clone https://github.com/samhk222/brandboom-imagepreview.git
- DB
- DB_USER
- DB_HOST
- DB_PASS You don't need to change the DSN!
CREATE TABLE `images` (
`image_id` INT NOT NULL AUTO_INCREMENT,
`filepath` VARCHAR(255) NULL,
`created_at` DATETIME NULL,
PRIMARY KEY (`image_id`));
Or simple run the /config.php file, and it will be created (after following step 2)
- DB
- DB_USER
- DB_HOST
- DB_PASS You don't need to change the DSN!
- src/files
- src/files/thumbs
sudo chmod 777 -R src/files src/files/thumbs
Navigate to http://localhost/brandboom-imagepreview