| 11 | | Expand out the distribution, and set your working directory to be the |
| 12 | | top level of the distribution, then execute the following commands: |
| | 6 | - Module::Build for installation |
| | 7 | - a webserver (such as Apache) |
| | 8 | - a Postgres database dedicated to the OpenGuides installation |
| | 9 | |
| | 10 | Unpack the distribution (using for example 'tar' or 'WinZip'), and set |
| | 11 | your working directory to be the top level of the distribution, then |
| | 12 | execute the following commands: |
| 28 | | "what directory should I install it in?" |
| 29 | | At the time you come to do "Build install", you need to have write permission |
| 30 | | to this directory. This may require a su or sudo as root, to place files in |
| 31 | | a directory such as /usr/lib/cgi-bin/openguides/. Note: you want to put the |
| 32 | | file into a directory known to the webserver as containing CGI scripts. |
| | 24 | The default is for the main script to be called "wiki.cgi", but |
| | 25 | you may prefer to name it after your city - "leeds-guide.cgi" for |
| | 26 | example. Note that your webserver may be configured to only allow |
| | 27 | execution of scripts ending in, for example, ".cgi" |
| 37 | | "what directory can I use to store indexes in for searching?" |
| 38 | | You need a directory to store files used as indexes for the site. The |
| 39 | | webserver will need write permission to this directory. |
| | 31 | You need to pick a directory for the OpenGuides software to be |
| | 32 | installed in. This must be one known to the webserver as containing |
| | 33 | CGI scripts. You will need to have write permission on this directory |
| | 34 | when you come to run "perl Build install"; unless this is a private |
| | 35 | directory belonging to you then this might require an 'su' or 'sudo' |
| | 36 | to root under Unix. |
| 51 | | "what's the wiki called?" |
| | 43 | "What directory can I use to store indexes in for searching?" |
| | 44 | |
| | 45 | You need a directory to store files used as indexes for the site. The |
| | 46 | webserver will need write permission on this directory. Under some |
| | 47 | webserver configurations this might be a dedicated user - 'nobody' or |
| | 48 | 'www-data' for example, but for many multi-user systems this will just |
| | 49 | be yourself. |
| | 50 | |
| | 51 | "What's the URL of the wiki's stylesheet?" |
| | 52 | |
| | 53 | Supplying an answer to this question is optional. TODO - supply and |
| | 54 | optionally install a simple stylesheet with the OpenGuides distribution. |
| | 55 | |
| | 56 | "What's the name of the postgres database that this site runs on?" |
| | 57 | "And the database user that can access that database?" |
| | 58 | "And the password that they use to access the database?" |
| | 59 | |
| | 60 | You should create (or ask your ISP/sysadmin to create) a Postgres |
| | 61 | database specifically for the use of OpenGuides. If you have more |
| | 62 | than one OpenGuides installation, for example if you run guides for |
| | 63 | more than one city, each installation will need its own database. |
| | 64 | |
| | 65 | TODO - support MySQL and SQLite as well (this is really going to be |
| | 66 | pretty trivial). |
| | 67 | |
| | 68 | "What's the wiki called?" |
| | 69 | |
| 54 | | "what should the home page of the wiki be called?" |
| 55 | | "how would you describe the wiki?" |
| 56 | | "what city is the wiki based in?" |
| 57 | | "what country is the wiki based in?" |
| 58 | | "contact email address for the wiki admin?" |
| | 72 | "What should the home page of the wiki be called?" |
| | 73 | "How would you describe the wiki?" |
| | 74 | "What city is the wiki based in?" |
| | 75 | "What country is the wiki based in?" |
| | 76 | "Contact email address for the wiki admin?" |
| | 77 | |