This repository has been archived by the owner on Mar 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
README
42 lines (36 loc) · 2.16 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# THIS SOFTWARE IS NO LONGER MAINTAINED HERE.
REQUIREMENTS
NodeJS - http://nodejs.org/ [apt-get install nodejs]
MySQL http://mysql.com/
INSTALLATION
Debian/Ubuntu:
1. # apt-get install mysql-server libssl-dev build-essential
2. install the latest nodejs from http://nodejs.org or apt-get install nodejs
3. # npm install socket.io mysql
4. Setup a mysql database and add the table 'note' with the sql 'primarywall.sql'
5. Copy MySQL_config.js.tpl to MySQL_config.js and set your mysql settings
6. If you want to use bit.ly or google analytics, set your bit.ly or google-analytics key in /static/js/google-analytics.js and /static/js/bitly.js. To do that, you have to copy the .tpl file
7. node server.js
8. Connect to SERVER-IP-ADDRESS port 80 in your web browser IE http://192.168.1.2
CentOS/RHEL:
1. # yum install mysql-server libssl-dev && yum groupinstall "Development Tools"
2. install the latest nodejs from http://nodejs.org or yum install nodejs
3. # npm install socket.io mysql
4. Setup a mysql database and add the table 'note' with the sql 'primarywall.sql'
5. Copy MySQL_config.js.tpl to MySQL_config.js and set your mysql settings
6. If you want to use bit.ly or google analytics, set your bit.ly or google-analytics key in /static/js/google-analytics.js and /static/js/bitly.js. To do that, you have to copy the .tpl file
7. node server.js
8. Connect to SERVER-IP-ADDRESS port 80 in your web browser IE http://192.168.1.2
Windows:
1. Download & Install nodejs, python(>2.5 & <3) & git, add a path for python to your PATH environment variable.
2. Start up a command line and create a home for PrimaryWall
3. # git clone git://github.com/Pita/primarywall.git
4. Setup a mysql database and add the table 'note' with the sql 'primarywall.sql'
5. Copy MySQL_config.js.tpl to MySQL_config.js and set your mysql settings
6. If you want to use bit.ly or google analytics, set your bit.ly or google-analytics key in /static/js/google-analytics.js and /static/js/bitly.js. To do that, you have to copy the .tpl file
7. node server.js
8. Connect to SERVER-IP-ADDRESS port 80 in your web browser IE http://192.168.1.2
RUNNING
1. node server.js
TESTING
1. Open your web browser and visit http://localhost:80