Improve README file

This commit is contained in:
Fedor A. Fetisov 2014-05-12 15:31:19 +04:00
parent e9186b3c14
commit a844768d08

View File

@ -9,33 +9,67 @@ REQUIREMENTS
INSTALLATION INSTALLATION
1. Create folder with name 'mibew' in the root of your website. 1. Create folder with name 'mibew' in the root of your website.
2. Upload all the files contained in this archive (retaining the directory structure) into created folder.
Be sure to chmod the mibew folder to 755 and the install folder to 644. 2. Upload all files contained in this archive (retaining the directory
3. Add a MySQL database with the name 'mibew' structure) into the created folder.
4. Edit /mibew/libs/config.php to the information needed to connect to the database
5. Using your web browser visit http://<yourdomain>/mibew/install/ and 3. Make sure that the user, under which the web server is running (for
hit 'Create tables' instance, www), is able to access and read all files in mibew folder
6. Remove /mibew/install/ directory from your server and all of its subfolders.
7. Logon as
On *nix systems the simplest way is to use this pair of commands:
find -type f | xargs chmod 0644
find -type d | xargs chmod 0755
4. Add a MySQL database to be used with Mibew Messenger (for instance, with
the name 'mibew').
5. Edit mibew/libs/config.php to specify the information needed to connect
to the database.
6. Using your web browser visit http://<yourdomain>/mibew/install/ and
hit 'Create tables'.
7. Remove mibew/install/ directory from your server.
8. On *nix platforms change the owner of mibew/images/avatar folder
to the user, under which the web server is running (for instance, www):
chown www mibew/images/avatar
The owner should have all rights on the folder mibew/images/avatar:
chmod u+rwx mibew/images/avatar
9. Log in as
user: admin user: admin
password: <empty> password: <empty>
8. Get button code and setup it on your site.
9. Change your password and name.
10. Wait for your visitors on 'Pending users' page.
On unix/linux platforms change the owner of /mibew/images/avatar folder 10. Get button code and set it up on your site.
to the user, under which the web server is running (for instance, www).
The owner should have all rights on the folder /mibew/images/avatar 11. Change your password and name.
(chmod 700 /mibew/images/avatar).
12. Wait for your visitors on the 'Pending users' page.
UPDATE UPDATE
1. Backup your /mibew/libs/config.php 1. Backup your mibew/libs/config.php
2. Backup your /mibew/images/avatar folder.
3. Delete the items in the mibew folder on the server. 2. Backup your mibew/images/avatar folder.
4. Upload all the files contained in the downloaded archive (retaining the directory structure) into mibew folder.
5. Re-edit the MySQL database settings you config.php 3. Delete all items in mibew folder on the server.
6. Visit http://<yourdomain>/mibew/install/ and follow the instructions to update database (if needed).
7. Remove /mibew/install/ directory from your server 4. Upload all files contained in the downloaded archive (retaining the
8. Restore contents of /mibew/images/avatar folder. directory structure) into mibew folder.
5. Restore the MySQL database settings in mibew/libs/config.php
6. Visit http://<yourdomain>/mibew/install/ and follow the instructions
to update the database tables (if needed).
7. Remove mibew/install/ directory from your server.
8. Restore contents of mibew/images/avatar folder.