installation.txt 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. 1. Requirements
  2. Check the requirements.txt first.
  3. An access and database on a mysql database server. Write them down.
  4. If you share a database either use the default table prefix (inisipid) or use your own.
  5. Absolute path on your webserver web-accessible folder where insipid will be installed to
  6. 2. Read
  7. Read this document before changing anything!
  8. 3. Unpack
  9. Unpack the archive to a temporary directory of your choice.
  10. Final files and folder will be moved to the webroot of your
  11. webserver later on.
  12. You can also verify the package with the available m5/sha sum information
  13. 4. Config
  14. Create your config file.
  15. Copy webroot/config.default.php to webroot/config.php
  16. Modify at least the following settings in this file:
  17. - const DB_HOST = '127.0.0.1; <= The database server hostname you are using
  18. - const DB_USERNAME = 'user' <= The database username you are using
  19. - const DB_PASSWORD = 'test; <= The database password you are using
  20. - const DB_NAME = 'insipid' <= Database name on your database server
  21. - const FRONTEND_USERNAME = 'han'; <= The frontend username. Please change the default
  22. - const FRONTEND_PASSWORD = 'solo'; <= The frontend password. Please change the default
  23. - const ABSOLUTE_PATH = '/path/to/insipid/on/your/webserver'; <= Absolute path where insipid is located in your webserver
  24. 5. Prepare SQL file
  25. Copy and modify documentation/insipid-edit-me.sql and replace the placeholder.
  26. Open the file and make a search and replace:
  27. search for: `#REPLACE_ME#
  28. replace with: `YOUR_TABLE_PREFIX
  29. The value YOUR_TABLE_PREFIX has to match with the value for DB_PREFIX in your config.php file.
  30. Default is insipid. Alter the value here and in the config file if you choose a different one
  31. 6. Database
  32. Create a database if needed. Should match DB_NAME in your config. Remember step 1.
  33. Import the edited from step 5 sql file into your MySQL database.
  34. 7.
  35. Edit the robots.txt file to your needs.
  36. Usually not needed
  37. 8.
  38. Copy the content of the unpacked webroot folder onto your webserver folder.
  39. Make the localdata folder writable to the web process to store images from link parsing.
  40. LOCAL_STORAGE is the option in the config file.
  41. Make sure ABSOLUTE_PATH matches the location of insipid in your webserver!
  42. 9.
  43. If you want to fully restrict your contents activate the user/password restriction in the config.
  44. 10.
  45. If you want to use the e-mail importer read the email-importer.txt file.