<commit_before>**WIP**

Deployment and Sync
===

As part of LUYA we have build an eco system in order to sync and deploy your website. Therefore this guide explains the best practice of how to bring your website online and sync it back to your local dev.

Those things are required for this guide:
+ Git repository (we use GitHub)
+ Server with SSH access (Prod environment)
+ Your local dev machine with LAMP or WAMP Stack.


**We never sync data into the ProdServer, only the oposite way!**

When starting to build a Website you are developing on your local dev machine, create the Git Repository, checkout the LUYA kickstarter project, add those files into Git and start develop your Website.

We recommend you to deploy the website to the Server in a very early stadium of the development cycle. So use dummy text data on your local system.

Deployment
---

1. Setup your Server Prod environment (create database, enable ssh, etc.)
2. Change the `env-prod.php` config.
3. Install the [LUYA DEPLOYER](https://luya.io/guide/module/luyadev---luya-deployer) so you can deploy your website with `./vendor/bin/dep luya prod`.

You are now ready to deploy your website into the server and can now start add content on the production env.

Sync
---
<commit_msg>Update concept-depandsync.md<commit_after>**WIP**

Deployment and Sync
===

As part of LUYA we have build an eco system in order to sync and deploy your website. Therefore this guide explains the best practice of how to bring your website online and sync it back to your local dev.

Those things are required for this guide:
+ Git repository (we use GitHub)
+ Server with SSH access (Prod environment)
+ Your local dev machine with LAMP or WAMP Stack.


**We never sync data into the ProdServer, only the oposite way!**

When starting to build a Website you are developing on your local dev machine, create the Git Repository, checkout the LUYA kickstarter project, add those files into Git and start develop your Website.

We recommend you to deploy the website to the Server in a very early stadium of the development cycle. So use dummy text data on your local system.

Deployment
---

1. Setup your Server Prod environment (create database, enable ssh, etc.)
2. Change the `env-prod.php` config.
3. Install the [LUYA DEPLOYER](https://luya.io/guide/module/luyadev---luya-deployer) so you can deploy your website with `./vendor/bin/dep luya prod`.

You are now ready to deploy your website into the server and can now start add content on the production env.

Sync
---

**IMAGE OF SYNC COMMAND**

{'fraction_non_alphanumeric': 0.06103286384976526, 'fraction_numerical': 0.002347417840375587, 'mean_word_length': 4.043392504930966, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '104100', 'n_tokens_mistral': 713, 'n_tokens_neox': 668, 'n_words': 399}