root/trunk/README

Revision 129, 8.7 kB (checked in by mercyful, 10 months ago)

$ Build 438/Sql Alpha
+ Removed all SQLite Code and References.
+ Updated the SQL Wrapper, and all Automake files to now link in and also Detect MySql? in the configure scripts.
+ Added detection for OpenSSL, not in use yet, but will add encryption for passwords.

and anything else of intertest once everything is moved over to the SQL Backend.

This is still an interm develop update release, the MySql? backend
is still a WIP, and the Husky SMAPI Library will be removed shortly.

Line 
1/=/====================================================================================================
2
3Enthral BBS - 11/18/2009 Build 438/SQ Alpha.
4
5Interm Release, This release or code sync is just to get the code in development up to date
6with the new code being written on my Desktop.  It's a bit inbetween points at the time
7as everything is going through a MYSQL Backend rewrite.  So stay tuned for more to come.
8
9##############################################################
10Extra Release Notes.
11##############################################################
12Extra Release Notes, this temp version currently is linking MySql, if you get any problems
13compiling this source, make sure you have the Mysql installed, the software is now moving
14away from the Husky SAMPI (JAM Message Format) to a MySql Database.
15
16
17/=/====================================================================================================
18There are two ways to install Enthral.  The manual way (which some people
19enjoy since they get a kick out of having full control) and the automated
20way via the install.pl script.
21
22We have detailed instructions for both steps as well as an auto update
23scripts that will update and compile your current Enthral install via
24the svn.
25
26Basic Installation - PreREQ and small overview.
27==================
28
29You can run the install.pl script to install and compile the source in your current
30Directoy.
31
32Or you can manally run.
33
34$ ./autogen.sh       (detects OS and Platform and generates configure script)
35$ ./configure        (run the configure script to setup make files)
36$ gmake              (gmake or make is fine)
37
38Some dependencies exists, you should have Autotools installed beore running either method.
39Some distro's don't have much installed, so you should check and verify the follow are
40installed before trying to compile.
41
42g++ compiler        (c++ compiler)
43libc                (standard library for c/c++)
44sed                 (needed for scripts)
45wget                (downloads programs from the web)
46automake            (Development tools for ccompiling source code)
47libtools            (Used with automake to detect compiling settings)
48Husky SMAPI Lib,    (Install.pl will download and attempt to compile it)
49xinetd / telnetd    (Used for Answering and Handeling Telnet Connections)
50mysql Database/Libs (New - Now Required, still WIP)
51
52
53python              (optional)
54perl                (optional)
55OpenSSL             (Optional)
56
57I believe i have everything here, although it's easy to miss something accross different
58linux/bsd/osx distro's.  If i have, please let me know so we can keep track and make
59getting everything setup easier on everyone.
60
61MySQL instructions will be coming soon once it's more intergrated and used in the system.
62
63/=/====================================================================================================
64Auto Install.
65
66For those of you that would rather have every dependancy and the sysop name/
67bbs name changed in the code for you we have an automated perl script that
68will do all the heavy lifting for you.  If you interested in having your
69system do everything for you, all you need to do is run the following:
70
71./install.pl
72
73You need to have perl installed on your system to use the install script.
74Along with the PreREQ's mentioned above.
75
76/=/====================================================================================================
77Manual Install.
78
79Remember things are still very incomplete so still there are not a lot of
80options for many things, but I'm working on it.. :)
81
82You can get the source through svn thanks to Netsurge.
83
84 $ svn --username svn co http://svn.enthralbbs.com /your/path/enthral
85
86If it asks for a password just hit ENTER or leave it blank.
87
88Before you can compile you need the Husky SMAPI lib, this is for jam message
89support.
90
91############################################################################
92NOTE: Husky, Is being removed in the future, due to lots of bugs and issues.
93############################################################################
94
95You can get the latest 2.4 RC5 from here:
96http://sourceforge.net/projects/husky/
97
98 *Note, Some people have had problem with 2.4, if you get crashes in message
99 scanning, please switch to 2.2-Stable Release.
100
101Go into the source directory, rename makefile.lnx to Makefile (case sensitive)
102and run make. This will generate the libsmapilnx.a which is needed by the bbs,
103copy this to the src directory for enthral and your all set.
104
105*Note, Both BSD and Linux will compile correctly with the makefile.lnx
106
107After smapi is all set and compiles cleanly:
108
109You have to edit the config.ini file located in the ini folder.  Here you will
110add the handle/username of your sysop user.  It should match exactly case and
111all.  Soon there will be a user editor where you can assign a sysop flag.
112
113Now that we have made all the necessary changes to the code, we can now run
114configure and make.  At a shell just type the following...
115
116/=/====================================================================================================
117
118# First run autogen.sh to generate a multi-platform configure script.
119# If your on BSD and most other OS's, you will need to install Automake and Libtools
120
121./autogen.sh
122
123# Now run configure and make to build the system, if you have any pronlems,
124# try running 'make distclean' then re-run 'make', make sure the libsmapilnx.a library
125# is placed in your src folder before running make, it's a dependancy.
126
127./configure && make
128
129We still have two small binaries to build to ensure that Enthral runs nice and
130smooth.  Stats is used to generate top callers and posters and Snoop allows
131you to see what's going on when a user is logged in.
132
133/=/====================================================================================================
134For Stats
135
136Stats is located in src/stats.  You will need to change the path statement in
137main.cpp to match the path of your enthral setup. Inside of main.cpp change
138the following line to your path.
139
140 Line 19 - PATH = "/home/merc/enthral/src/";
141
142Once you have made the change run the following at a prompt to compile stats.
143
144    g++ -o stats main.cpp process2.cpp userdat.cpp
145
146You will also need to edit [CommandRec009] in src/menu/logon.txt to the proper
147location of the stats binary we just compiled.
148
149/=/====================================================================================================
150For Snoop
151
152Go to the src/snoop directory and execute the following from a prompt.
153
154    g++ -o snoop snoop.cpp
155
156/=/====================================================================================================
157Post Compile.
158
159The first thing you'll want to do it connect to the bbs,  and create your
160sysop user, the name should match exactly what you updated in the logon.cpp.
161
162Now once your at the main menu, as a Sysop you can hit * from the main menu
163to go into the message forum editor.
164
165You will want to create an email area as your first area, and a system
166announcements as your second area.  Your system annoucements area must be
167named "system" (no quotes) to ensure that only a sysop can post in it.  This
168will be fixed later on.
169
170After these 2 areas, you can create general message and as many areas as you
171like.
172
173Once you are done creating your areas, hit C to compile them.
174
175Once everything is compiled and working, you'll want to setup xindetd, and
176telnetd to login to the bbs.  If your unsure how to set either one of them
177up, send me a message and i'll email you some sample scripts.
178
179Your all done.
180
181If you have any questions feel free to email me or Netsurge and we'll try
182to help you out.
183
184/=/====================================================================================================
185Auto update
186
187There is a script in the root dir called update.pl.  This script will
188automatically update your to the latest build via svn and replace all the
189instances of the default sysop and bbs name in the source code.  It will also
190run configure, make clean, and make for you.  This should make updating your
191installation a lot easier.
192
193/=/====================================================================================================
194One last note
195
196You can also add |IP MCI Code for ip address in the matrix ansi
197file, i took this out while I was hunting a bug a while back and forgot to
198add it back in.. ;)
199
200You can always pop into #enthral on irc.bbs-scene.org and ask for help.  I try
201to pop in nightly and answer any questions, but you can also chat with
202Netsurge, Esc, and even pook who have also setup the bbs for testing.
203
204-=+[Team Enthral]+=-
205Mike  -Mercyful Fate
206Frank -Netsurge
207
208http://www.enthralbbs.com
Note: See TracBrowser for help on using the browser.