Fri May 4 10:33:45 2012 UTC ()
Add salt and seed target file.


(ryoon)
diff -r1.1.1.1 -r1.2 pkgsrc/www/sencha-sns/MESSAGE

cvs diff -r1.1.1.1 -r1.2 pkgsrc/www/sencha-sns/Attic/MESSAGE (expand / switch to unified diff)

--- pkgsrc/www/sencha-sns/Attic/MESSAGE 2012/05/04 09:42:06 1.1.1.1
+++ pkgsrc/www/sencha-sns/Attic/MESSAGE 2012/05/04 10:33:44 1.2
@@ -1,15 +1,15 @@ @@ -1,15 +1,15 @@
1=========================================================================== 1===========================================================================
2$NetBSD: MESSAGE,v 1.1.1.1 2012/05/04 09:42:06 ryoon Exp $ 2$NetBSD: MESSAGE,v 1.2 2012/05/04 10:33:44 ryoon Exp $
3 3
4To use Sencha SNS with Apache 2.2, you will need to perform the following steps. 4To use Sencha SNS with Apache 2.2, you will need to perform the following steps.
5 5
61. Install www/apache22 and www/ap-php 61. Install www/apache22 and www/ap-php
7 7
82. Setup PHP. At least, ${PREFIX}/etc/php.ini should have date.timezone line. 82. Setup PHP. At least, ${PREFIX}/etc/php.ini should have date.timezone line.
9 If your machine are located in Tokyo, Japan, you should get the following. 9 If your machine are located in Tokyo, Japan, you should get the following.
10 10
11 # cat ${PREFIX}/etc/php.ini | grep date.timezone 11 # cat ${PREFIX}/etc/php.ini | grep date.timezone
12 date.timezone = "Asia/Tokyo" 12 date.timezone = "Asia/Tokyo"
13 13
143. Install MySQL database server. 143. Install MySQL database server.
15 15
@@ -49,27 +49,27 @@ To use Sencha SNS with Apache 2.2, you w @@ -49,27 +49,27 @@ To use Sencha SNS with Apache 2.2, you w
49 LoadModule php5_module lib/httpd/mod_php5.so 49 LoadModule php5_module lib/httpd/mod_php5.so
50 AddType application/x-httpd-php .php 50 AddType application/x-httpd-php .php
51 <Directory ${PREFIX}/share/senchasns> 51 <Directory ${PREFIX}/share/senchasns>
52 DirectoryIndex index.php 52 DirectoryIndex index.php
53 Options All 53 Options All
54 Allow from All 54 Allow from All
55 AllowOverride All 55 AllowOverride All
56 </Directory> 56 </Directory>
57 57
589. Start Apache httpd 2.2 589. Start Apache httpd 2.2
59 59
60 # ${RCD_SCRIPTS_DIR}/apache start 60 # ${RCD_SCRIPTS_DIR}/apache start
61 61
6210. Set salt and seed 6210. Set salt and seed in ${PREFIX}/share/sencha-sns/app/config/core.php
63 63
64 Replace DYhG93b0qyIfIxfs2guVoUubWwvniR2G0FgaC9mi with the output of 64 Replace DYhG93b0qyIfIxfs2guVoUubWwvniR2G0FgaC9mi with the output of
65 $ cat /dev/urandom | tr -dc "a-zA-Z0-9" | fold -w 40 | head -n 1 65 $ cat /dev/urandom | tr -dc "a-zA-Z0-9" | fold -w 40 | head -n 1
66 and 66 and
67 Replace 76859309657198048034862324894 with the output of 67 Replace 76859309657198048034862324894 with the output of
68 $ cat /dev/urandom | tr -dc "0-9" | fold -w 30 | head -n 1 68 $ cat /dev/urandom | tr -dc "0-9" | fold -w 30 | head -n 1
69 69
7011. Access http://localhost/index.php 7011. Access http://localhost/index.php
71 And setup with the following information. 71 And setup with the following information.
72 72
73 database name: senchasns_db 73 database name: senchasns_db
74 user name: senchasns 74 user name: senchasns
75 password: senchasns_password 75 password: senchasns_password