X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=readme.txt;h=98cc111a93b647f54a4f62f3f5e628cea737d926;hp=038bb56f4adee381dff77035316dece4c7f431bd;hb=HEAD;hpb=9b22dd53fe62e312c1647310b7ec43aa127090af diff --git a/readme.txt b/readme.txt index 038bb56..98cc111 100644 --- a/readme.txt +++ b/readme.txt @@ -1,38 +1,69 @@ COMPILING --------- -Compiling FMS requires CMake, pthreads and iconv if you want to do charset -conversion. Other required libraries are bundled with FMS. +Compiling FMS requires CMake, Poco ( version >=1.2.9 ) and iconv if you want to +do charset conversion. Other required libraries are bundled with FMS. To compile, run these commands from the source directory: cmake -D I_HAVE_READ_THE_README=ON . make -If you want to use the bundled SQLite3 library, add a -D USE_BUNDLED_SQLITE=ON -to the cmake command. Use of the bundled SQLite3 library is on by default when -compiling on a Mac. To turn off charset conversion to UTF-8 when sending -messages, add a -D DO_CHARSET_CONVERSION=OFF. Compiling with charset -conversion turned on is recommended. +Compiling with the bundled SQLite library is on by default. If you do not want +to use the bundled SQLite library, add a -D USE_BUNDLED_SQLITE=OFF to the cmake +command. To turn off charset conversion to UTF-8 when sending messages, add a +-D DO_CHARSET_CONVERSION=OFF. Compiling with charset conversion turned on is +recommended. If you would like to compile using the alternate captchas, add a +-D ALTERNATE_CAPTCHA=ON to the cmake command line. This option requires the +FreeImage library to be installed. + +Query logging may be turned on by adding a -D QUERY_LOG=ON. This will create a +file called query.log in the working directory. Straight SQL statements will +be captured, as well as the setup of prepared statements. Each step through a +prepared statement is also logged, but the details are not, so there should be +no sensitive information in this log file. UPGRADING --------- -It is always a good idea to make a copy of your current FMS installation before -continuing. First shut down FMS, make a copy of the directory, and then -replace all files except the database with those from the new version. You may -keep the same database unless otherwise noted. +*ALWAYS* make a copy of your current FMS installation before continuing. First +shut down FMS, make a copy of the directory, and then replace all files except +the database with those from the new version. You may keep the same database +unless otherwise noted in the release information. INSTALLATION ------------ -Place the binary and any templates in a directory of your choice. Windows -users may need to download the runtime DLLs available from the fms Freesite and -place in the fms directory if they are not already installed on the system. On -the first run, a database file will also be created in this directory. Make -sure the user that runs FMS has read/write access to this directory. +Place the binary, any templates, and the fonts and images directories in a +directory of your choice. Windows users may need to download the runtime DLLs +available from the fms Freesite and place in the fms directory if they are not +already installed on the system. On the first run, a database file will also +be created in this directory. Make sure the user that runs FMS has read/write +access to this directory. RUNNING ------- -You may run FMS in console mode by running the binary directly. If you are -running *nix and would like to run as a daemon, use the -d argument. On -Windows, -i will install FMS as a service, and -u will uninstall the service. +You may run FMS in console mode by running the binary directly. You can view +available command line options by typing /help on Windows and --help on other +platforms. If you are running *nix and would like to run as a daemon, use the +--daemon argument. On Windows, /registerService will install FMS as a service, +and /unregisterService will uninstall the service. Use the /displayName=name +argument when installing the service to set the service name to whatever you +want. You will need to manually start the service unless you change the +startup type in the service properties. + +FMS must run a good portion of the day every day to work properly. The slower +your Freenet connection is, the longer FMS must be run to find the +communications of other identities. You will not have a good experience only +running FMS a few hours a day. + +If you are experiencing a problem with FMS that you can't solve, and you've +already rebooted your machine, restarted FMS, and have reproduced the problem +with a brand new database, follow these instructions. Set the logging option +to trace and restart FMS. Create a post on the fms group with a descriptive +subject and a body that contains the operating system you are using, along with +a description of the problem, what you have tried already, if you are using a +precompiled binary, the startup lines from the log file as well as the portion +that corresponds to the problem you are experiencing, and any other information +you have that pertains to the problem. Make sure to anonymize any IP addresses, +host names, subnet masks, and keys from the log that you don't want people to +know about. EXITING ------- @@ -44,6 +75,8 @@ WEB INTERFACE ------------- By default, a web interface for administration will be running at http:// localhost:8080. You can use the interface to configure and administer FMS. +There is also a forum built into the web interface so you can read and send +messages without needing to use a newsreader. NNTP CONFIGURATION ------------------ @@ -55,13 +88,16 @@ is discarded when posting messages. POSTING MESSAGES ---------------- -You must set your newsreader to use UTF-8 when posting messages. Any non-text -attachment to the message will be inserted as a regular file and the key added -to the body of the message when received. Keep the attachments small, as the -message can't be inserted until all attachments are inserted. Text attachments -will be inlined with the message body. Cross posting is fine, but remember -that each identity can set a limit to the number of boards each message may be -cross posted to. +You must set your newsreader to use UTF-8 when posting messages unless you have +compiled with charset conversion turned on. All headers of the message that +aren't needed will be stripped and all headers necessary for the proper sending +of the message will be replaced with sanitized ones. Any non-text attachment +to the message will be inserted as a regular file and the key added to the body +of the message when received. Keep the attachments small, as the message can't +be inserted until all attachments are inserted. Text attachments will be +inlined with the message body. Cross posting is fine, but remember that each +identity can set a limit to the number of boards each message may be cross +posted to. CONTROL BOARDS --------------