You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.1 KiB

3 years ago
  1. ### Introduction
  2. About ShowDoc , Please refer to [/README.md](README.md)
  3. ### Environment dependence
  4. - Required environment
  5. `PHP5.3 or above version ` ,`php-gd`,`php-pdo`
  6. ### Install and configure
  7. - #### New installation
  8. - Manually download the code from https://github.com/star7th/showdoc/
  9. - Make these writable
  10. Example: `sudo chmod -R 777 server/showdoc/install`
  11. `/install`, `/Application/Runtime ` ,`/Public/Uploads`,`/Sqlite`,`/Sqlite/showdoc.db.php`
  12. - Windows sever
  13. Please entable `extension=php_sqlite.dll` ,`extension=php_pdo_sqlite.dll`and `php_mbstring.dll` in `php.ini` . Ignore it if you are on Linux.
  14. - Run installation
  15. `http://your-domain.com/install/`
  16. - Default Admin
  17. Username : showdoc
  18. Password : 123456
  19. - #### Upgrade
  20. - Manually download the code from https://github.com/star7th/showdoc/
  21. - Backup your codes via: `mv showdoc showdoc_backup`
  22. - Dowload new codes and decompression it to a new directory.Copy `/Sqlite/*` and `/Public/Uploads/*` from old directory to new directory
  23. - Open `http://your-domain.com/index.php?s=/home/update/db` in your brown to update database