Russian  English  All projects

Restore the site from a backup.



have created website but in the archive you need to unzip and configure hosting.

there are installation instructions.

------------

# Setting


1. Clone the repository (`git clone git_bitbucket.org:vintageua/melon.git`)

2. To delete the branch `origin`, which refers to a frame repository (`git remote rm origin`)

3. Add branch `origin`, which would refer to the new repository (`git remote add origin git_bitbucket.org:user/repo.git`)

4. Send all comity in the new repository: `git push -u origin --all` and `git push -u origin --tags`

5. Copy file `common/config/local.php.sample` in `common/config/local.php` and configure the connection to the database (and other settings if necessary)

6. Copy the file `console/config/local.php.sample` in `console/config/local.php`. This will add additional functionality: removes a request to execute a migration (`interactive => false,`), additional commands, etc.

7. Run the command `composer install` (if composer is installed as a binary, if not [see here](#markdown-header-composer-install))


Getting new komitov (`git pull`), all migrations will be executed automatically when you `composer update`, that is, to razvernutaya need to run only one command `composer update`

26.06.2020 22:56



 Answers freelancers