The website is written in PHP. It has an English as well as a Bangla version. The Bangla version is in the subdirectory bn. To work on the website, you will need write access to the directory /home/groups/b/be/bengalinux/htdocs/ in the at ssh.sourceforge.net server. Please mail <core@bengalinux.org> to get the access.
Using ssh is simple. You will have to issue the command:
$ ssh -C username@ssh.sourceforge.net
Where username is your username at sourceforge.net.
It will possibly issue some warnings (when used for the first time), and then ask for your password. After you have issued your password correctly, you will be placed in the shell prompt at the remote server.
After you have logged in for the first time, please edit your .bashrc and add the following lines to it:
umask 002
Sourceforge (where the site is hosted does not allow ftp access. To upload files, you will need to use SCP, which is a much more secure than ordinary ftp. To upload a file using SCP, the syntax is:
$ scp fubar.txt username@ssh.sourceforge.net:/home/groups/b/be/bengalinux/htdocs/fubar.txt
Where fubar.txt is the file to be uploaded to the server root, and username is your username.
In case you want to upload an entire directory recursively (say, called fubar) issue the command:
$ scp -r fubar username@ssh.sourceforge.net:/home/groups/b/be/bengalinux/htdocs/fubar
To maintain a consistent look and feel throughout the site, all new pages should use the template provided at /home/groups/b/be/bengalinux/htdocs/template/template.php. The comments inside the file should explain everything. Once you have created the new file, you may want to change the navigation bar file ( includes/nav_bar.inc) to link to the newly created file.
However, remember that you may need to change the relative path to the include files in your newly created file, depending on the location of the file.
While editing a webpage, please make sure that you put a HTML comment at the end, stating your name, and that you have changed the file. For example:
<b>OldText</b> <b>NewText</b> <!-- Sayamindu is the culprit -->
To work on the Bangla section, you will need to edit the files using some UTF-8 encoded Bangla supporting editor like the editors mentioned in the previous chapter.
Do not open the Bangla files using VI or Emacs. You may run into deep trouble.