### Getting Started

- Server Requirements
- Installation
- Updating to New Versions

### Configuration

- How To Increase File Maximum Upload Size
- Scheduled Tasks (CRON Jobs)
- Configuring Logging
- Configuring Stripe
- Configuring Paypal
- Modifying Source Code
- Changing Url Or Database Credentials
- Setting Up Subscriptions
- Translating the Site
- Setting Up Analytics Page
- Configuring Social Login
- Configuring Email Provider
- Nginx Rules

### Common Issues

- Site Not Loading
- Can't Reset Password
- Whoops, looks like something went wrong.
- Url Rewriting is Not Working

### Frequent Questions

- Where to insert adsense or another javascript snippet?
- Can Users Be Blocked From Uploading?
- Can I Use Another Payment Gateway?
- Can Files By Synced To Desktop or Mobile?
- Can I Use Another Cloud Service For Storage?

### Admin

- Roles & Permissions

# Modifying Source Code

## Introduction

All front-end (things visible to user) code can be found in sourcecode folder in the .zip you have downloaded from CodeCanyon. All front-end source code is written in latest web technologies: angular and typescript. This means front-end code will need to be re-compiled after making custom modifications (.php files don't need compiling).

## Local Development

To make custom modifications easier, you can start a local development server. This will automatically re-compile the code and refresh the browser after any modification to the code.

To set this up:

1. Copy contents of codecanyon .zip file to your local server (wamp, xamp, lamp etc) web root.
2. Follow documentation to install the application.
3. Open sourcecode/proxy.conf.json file and update target url there to the base url of the site. For example: http://localhost/my-site. To test this open http://localhost/my-site/secure/bootstrap-data in the browser and make sure it's working. You should see something like this:
   Note:
   It should be the same url that can be seen in "admin > settings > general" page or inside ".env" file (APP_URL).
4. CD into sourcecode directory via terminal and install dependencies: `npm install`
5. Run `npm start` command from terminal. If previous steps were completed properly, you should be able to access local server at http://localhost:4200 url. Code will automatically re-compile and refresh the browser after detecting changes to files inside sourcecode directory.

## Building for Production

To build code for production (your live site) after making changes, use `npm run build` and `gulp dist` commands. This will compile, optimize and output all front-end code into public/client folder.

To update your production site, copy (and override) public/client folder and resources/views/app.blade.php file.

#### Content