How to install¶
Server requirements and installation instructions.
Junker was built on Laravel 5.2 which requires:
- PHP >= 5.5.9
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
- Tokenizer PHP Extension
- cURL PHP Extension
- GD PHP Extension
- Fileinfo PHP Extension
- Exif PHP Extension
- Memory_limit no less than 256MB (preferably 512)
The installer will check all requirements.
Step 1: Database¶
The installer will create it if the database entered doesn’t exist.
If you want to create it manually, here’s an example code you may find useful:
CREATE SCHEMA `junker` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; CREATE USER 'junker'@'localhost' IDENTIFIED BY 'PASSWORD'; GRANT ALL PRIVILEGES ON `junker`.* TO 'junker'@'localhost'; FLUSH PRIVILEGES;
You can name the database anything you want.
Step 2: Transfer files to your server¶
Upload the junker directory to the server root directory.
- The location of your root web directory in the filesystem on your web server will vary across hosting providers and operating systems. Check with your hosting provider or system administrator if you do not know where this is.
- Make sure to point your server web root to
path/to/junker/public/. In Ubuntu 14.04, the default web root is
/var/www/html/. Click here for an alternative if for any reason you cannot change the server web root.
- If you’re using a FTP client and it has an option to convert file names to lower case, make sure it’s disabled.
Step 3: Install¶
http://example.com/en/setup, and you should see the Junker Setup Page. Fill up the setup form and press the Install button when you’re done.
If you are having trouble during the installation, please refer to the troubleshooting section, if there’s no documentation for your specific issue please contact me.
Once installed remove
installer.flag file located inside the
junker directory. This will disable the installer for security purposes.