M.Zharkikh's personal site logo
Mail to site
Print version
News (RSS)
Smereka / For administrators / Deployment

Smereka

For administrators

Deployment

Let us consider Smereka deployment procedure by the example of the deployment from scratch. In the case of deployment for sites have already working some steps may be omitted.

1. Register domain name (for example, example.com).

2. Choose hosting with mod_rewrite, PHP 5, MySQL.

3. Make sure that magic quotes in PHP were disabled:

magic_quotes_gpc = Off if you have a personal file php.ini;

php_flag magic_quotes_gpc Off or

php_value magic_quotes_gpc Off in the file .htaccess

Disabling is absolutely necessary for the correct working of Smereka.

4. Create MySQL database and appropriate user.

5. Perform database load (file start.sql.

6. Edit a file customsettings.php, filling an array $DBSettings with database connection parameters.

7. Copy to the server installation directories Root and smereka.

A typical directory structure looks like this:

Root

.htaccess

index.php

customsettings.php

files

css

images

jscript

Other directories as needed

inc

smereka

db

Other Smereka directories

Smereka software directory should be placed outside the site root directory to avoid reading through the WWW. You can also put it in the directory at directory level of files and prohibit the direct reading of the files with .htaccess (but this method is not recommended).

If site configuring requires http-access to other directories, except files, than one should modify addresses rewrite rules to protect these directories from being overwritten. But the names of these directories do not have to coincide with the two-letter names of Smereka languages.

8. Now one can test the installation. Start the web browser and type http://example.com/?Node=ZZZ, where ZZZ is placeholder for a certain number, given in the installation.

If all implemented correctly, the user registration page should appear. One must enter a user name and password (the specific meaning given in the installation). After successful registration, we find ourselves in the Smereka administrator personal office.

Now the deployment of Smereka can be considered successfully completed. The next step is to add a new site.

Previous section | Table of content | Next section

Please this page? Help us to develop this site!

1978 2018 N.I.Zharkikh

Reprinting of articles from site are encouraged while
reference (hyperlink) to my site is provided

Site powered by

Load count : 1680

Modified : 8.08.2017

If you look up the type error
on this page, please select it
by mouse and press Ctrl+Enter.