Skip to content

Commit

Permalink
Add local assets guide to README.md file
Browse files Browse the repository at this point in the history
  • Loading branch information
hamidsamak committed Sep 27, 2021
1 parent 1f5f637 commit b030f62
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Expand Up @@ -26,6 +26,20 @@ or just upload `pheditor.php` to your web host (and/or rename it as you wish).

---

### Local assets

By default Pheditor uses CDN to load required libraries but also it is possible to load assets from local directory.

For using local assets follow these steps:

1. Edit `pheditor.php` and change `LOCAL_ASSETS` definition to `true`.

`define('LOCAL_ASSETS', true);`

2. Run `npm i` to install required dependencies.

---

**NOTES**:
1. The default password is `admin`. Please change the password after install or first login.
2. As the script gives permission to edit files, it is recommended to keep the address secret or protected depending on the web-server you are using.
Expand Down

0 comments on commit b030f62

Please sign in to comment.