Permalink
Browse files

Merge pull request #32 from lcharette/master

Updated doc & install
  • Loading branch information...
paraboul committed Feb 8, 2013
2 parents 0005297 + 84a5f69 commit 19495fc33e88c3df6e77544646eb4d7b4bde3508
Showing with 72 additions and 10 deletions.
  1. +16 −5 Makefile
  2. +25 −2 README
  3. +26 −0 README.md
  4. +5 −3 build.sh
View
@@ -1,6 +1,6 @@
EXEC=bin/aped
-prefix = /usr/local
+prefix = /usr/share/APE_Server
bindir = $(prefix)/bin
@@ -12,15 +12,26 @@ CC=gcc -D_GNU_SOURCE
RM=rm -f
all: aped
-
+
aped: $(SRC)
$(CC) $(CFLAGS) $(SRC) -o $(EXEC) $(LFLAGS) ./deps/udns-0.0.9/libudns.a -I ./deps/udns-0.0.9/
-install:
- install -d $(bindir)
+
+install:
+ install -d $(bindir) $(prefix)/modules/conf $(prefix)/modules/lib $(prefix)/scripts/commands $(prefix)/scripts/examples $(prefix)/scripts/framework $(prefix)/scripts/utils $(prefix)/scripts/test
install -m 755 $(EXEC) $(bindir)
+ install -m 644 bin/ape.conf $(bindir)
+ install -m 644 AUTHORS COPYING README $(prefix)
+ install -m 644 modules/conf/* $(prefix)/modules/conf/
+ install -m 755 modules/lib/* $(prefix)/modules/lib/
+ install -m 644 scripts/main.ape.js $(prefix)/scripts/
+ install -m 644 scripts/commands/* $(prefix)/scripts/commands/
+ install -m 644 scripts/examples/* $(prefix)/scripts/examples/
+ install -m 644 scripts/framework/* $(prefix)/scripts/framework/
+ install -m 644 scripts/utils/* $(prefix)/scripts/utils/
+ install -m 644 scripts/test/* $(prefix)/scripts/test/
uninstall:
- $(RM) $(bindir)/aped
+ $(RM) -R $(prefix)
clean:
$(RM) $(EXEC)
View
27 README
@@ -1,2 +1,25 @@
-run build.sh
--> sh build.sh
+APE is a full-featured OpenSource solution designed for Ajax Push. It includes a comet server and a Javascript Framework. APE allows to implement any kind of real-time data streaming to a web browser, without having to install anything on the client-side.
+
+-- Requirements --
+To run APE Server you will need any one of the following supported Operating Systems:
+* Linux (with a kernel 2.6.16+)
+* MacOS X 10.3 computer
+* Windows computer with a virtual machine running Linux.
+* FreeBSD
+
+-- Downloading APE --
+The latest source code can be downloaded from the [APE GitHub Repository](https://github.com/APE-Project/APE_Server).
+The Javascript Client Framework can be found here: https://github.com/APE-Project/APE_JSF
+
+-- Installing APE --
+Go in the source directory and run
+
+ ./build.sh
+
+This script will build APE and all its modules. You can now go to Configure APE.
+
+-- Links --
+ * Official website: http://www.ape-project.org/
+ * Documentation: http://www.ape-project.org/docs/
+ * APE Google Group & Support: https://groups.google.com/forum/?fromgroups#!forum/ape-project
+ * Wiki: https://github.com/APE-Project/APE_Server/wiki
View
@@ -0,0 +1,26 @@
+# APE Server
+APE is a full-featured OpenSource solution designed for Ajax Push. It includes a comet server and a Javascript Framework. APE allows to implement any kind of real-time data streaming to a web browser, without having to install anything on the client-side.
+
+# Requirements
+To run APE Server you will need any one of the following supported Operating Systems:
+* Linux (with a kernel 2.6.16+)
+* MacOS X 10.3 computer
+* Windows computer with a virtual machine running Linux.
+* FreeBSD
+
+# Downloading APE
+The latest source code can be downloaded from the [APE GitHub Repository](https://github.com/APE-Project/APE_Server).
+The Javascript Client Framework can be found here: https://github.com/APE-Project/APE_JSF
+
+# Installing APE
+Go in the source directory and run
+```
+./build.sh
+```
+This script will build APE and all its modules. You can now go to Configure APE.
+
+# Links
+* [Official website](http://www.ape-project.org/)
+* [Documentation](http://www.ape-project.org/docs/)
+* [APE Google Group & Support](https://groups.google.com/forum/?fromgroups#!forum/ape-project)
+* [Wiki](https://github.com/APE-Project/APE_Server/wiki)
View
@@ -15,6 +15,10 @@ case "$OS_TARGET" in
HOST_IS=Linux;;
esac
+cd ./deps/udns-0.0.9/
+make clean && ./configure && make
+cd ../../
+
if [ -e "/usr/include/mysql/mysql.h" ]
then
echo "HAS_MYSQL = yes" > ./modules/mysql.mk
@@ -27,9 +31,7 @@ else
echo "#undef _USE_MYSQL" >> ./src/configure.h
fi
-cd ./deps/udns-0.0.9/
-make clean && ./configure && make
-cd ../js/src/
+cd ./deps/js/src/
./configure && make -j8
cd ../../../
make

0 comments on commit 19495fc

Please sign in to comment.