...
If you can find the word "Succesfully installed." at the end of the install log, congratulations!
Installation WEKO into the NC2 has been completed.
Completed!
Show WEKO Block
Go to the NC2 top page and click "Setting mode on" link in the header.
After switching to the Setting Mode, you can select WEKO module in the drop down menu.
Now you paste WEKO module on the top page. Here is the control panel page of WEKO.
In order to show the language select function, please click the "management" tab.
Setting up for the External Commands
In the [Management] => [Server Setting] tab, you can find "Server Environment" menu.
Clicking the [Execute] button automatically search the commands and change signal color to green if the system has.
In order to store the path to the commands, click the [Commit] button after this operation.
Finish!
Customization for Multilingual
Only English, Chinese and Japanese are available by the original NC2. Therefore, we need to apply patch for more multilingual function. First you need to checkout the patch and just copy it to the NC2 application directory.
コード ブロック | ||
---|---|---|
| ||
wget -O nc2multilang.tar.gz https://bitbucket.org/niijp/nc2-patch-multilanguage/get/master.tar.gz
tar zxvf nc2multilang.tar.gz
cd niijp-nc2-patch-multilanguage-[commit number]
sudo cp -rp webapp /var/www/html/nc2/ |
MySQL DB also have to be modify for this customization.
In this SQL file database prefix for NC2 is assumed as "nc2" as has been instructed previously.
If you apply different prefix, please modify SQL file appropriately.
コード ブロック | ||
---|---|---|
| ||
mysql -u nc2user -pnc2pass
mysql> use nc2db
mysql> source AddLanguageForNC2SQL.sql |
Completed!
Show WEKO Block
Go to the NC2 top page and click "Setting mode on" link in the header.
After switching to the Setting Mode, you can select WEKO module in the drop down menu.
Now you paste WEKO module on the top page. Here is the control panel page of WEKO.
In order to show the language select function, please click the "management" tab.
Setting up for the External Commands
In the [Management] => [Server Setting] tab, you can find "Server Environment" menu.
Clicking the [Execute] button automatically search the commands and change signal color to green if the system has.
In order to store the path to the commands, click the [Commit] button after this operation.
Finish!
Customization for Multilingual
Only English, Chinese and Japanese are available by the original NC2. Therefore, we need to apply patch for more multilingual function. First you need to checkout the patch and just copy it to the NC2 application directory.
svn co http://forge.at.nii.ac.jp/svn/nc/nc2multilang/trunk nc2multilang cd nc2multilang sudo cp -rp webapp /var/www/html/nc2/ |
MySQL DB also have to be modify for this customization.
In this SQL file database prefix for NC2 is assumed as "nc2" as has been instructed previously.
If you apply different prefix, please modify SQL file appropriately.
mysql -u nc2user -pnc2pass mysql> use nc2db mysql> source AddLanguageForNC2SQL.sql |
Completed!