<commit_before>Maestro(TM) is a web application for design and manufacturing teams to manage their part and supplier (vendor) information. Maestro is compatible with Parts&Vendors(TM), "The Personal Parts List Manager and Vendor Database"(1). Maestro has a modular architecture, additional  modules are planned for material management and project planning.

Maestro is in active development and may be suitable for production use. For more information on the current status of Maestro, see the [Maestro project wiki](https://github.com/dalers/maestro/wiki) and experiment with your own use cases.

The purpose of the [Maestro project](https://www.github.com/dalers/maestro) is to create, as a community, the leading environment for integrating SME business processs.

Maestro is licensed under the terms of the BSD 2-clause license. See  [LEGAL](https://github.com/dalers/maestro/wiki/Legal) for more information.

Getting Started
===============
Maestro is a PHP/MySQL application. You must have a standard AMP stack or equivalent on your system in order to configure and use Maestro. Maestro uses the Yii framework, and requires PHP 5.1 or greater.

* Clone the [Maestro project repo](https://github.com/dalers/maestro) to your system. The master branch contains the most recent release.

```
> git clone git://github.com/dalers/maestro.git maestro
```

* Download the [latest Yii v1 release](http://www.yiiframework.com) to your system. E.g. download yii-1.1.14.f0fee9.tar.gz. Extract the Yii framework to your system.

```
> tar -xzf yii-1.1.14.f0fee9.tar.gz
```

* Confirm the path to the Yii framework is correct in files maestro/index.php and index-test.php.

```
$yii=dirname(__FILE__).'/../yii-1.1.14.f0fee9/framework/yii.php';
```

* Create a database for Maestro.

```
> cd maestro/protected/data
> mysql -u root -p < ./create_db.sql
```

* Migrate the database to the current schema.

```
> cd maestro
> ./protected/yiic migrate
```

* Load demo data from the Swift Construction Company.

```
> cd maestro/protected/data
> mysql -uroot -p --local-infile=1 --show-warnings --verbose < ./load_demo.sql
```

You can now access Maestro and login (e.g. [localhost/maestro](http://localhost/maestro)).

Once you have logged in to Maestro, you are encouraged to review the Maestro [Guided Tour](http://github.com/dalers/maestro/wiki/Guided-tour), which will guide you step-by-step through configuring Maestro and using its basic features.

Version Control and Issue Tracking<commit_msg>assuming unix for quick setup in README (set read/write privilges on asset and runtime directories)<commit_after>Maestro(TM) is a web application for design and manufacturing teams to manage their part and supplier (vendor) information. Maestro is compatible with Parts&Vendors(TM), "The Personal Parts List Manager and Vendor Database"(1). Maestro has a modular architecture, additional  modules are planned for material management and project planning.

Maestro is in active development and may be suitable for production use. For more information on the current status of Maestro, see the [Maestro project wiki](https://github.com/dalers/maestro/wiki) and experiment with your own use cases.

The purpose of the [Maestro project](https://www.github.com/dalers/maestro) is to create, as a community, the leading environment for integrating SME business processs.

Maestro is licensed under the terms of the BSD 2-clause license. See  [LEGAL](https://github.com/dalers/maestro/wiki/Legal) for more information.

Getting Started
===============
Maestro is a PHP/MySQL application. You must have a standard AMP stack or equivalent on your system in order to configure and use Maestro. Maestro uses the Yii framework, and requires PHP 5.1 or greater. The instructions here reference a FreeBSD unix system.

* Clone the [Maestro project repo](https://github.com/dalers/maestro) to your system. The master branch contains the most recent release.

```
> cd /usr/local/www
> git clone git://github.com/dalers/maestro.git maestro
```

* Make the assets and runtime directories in the maestro application writable by the web server.

```
chown -R www:www maestro/assets
chown -R www:www maestro/protected/runtime
```

* Download the [latest Yii v1 release](http://www.yiiframework.com) to your system. E.g. download yii-1.1.14.f0fee9.tar.gz. Extract the Yii framework to your system.

```
> tar -xzf yii-1.1.14.f0fee9.tar.gz
```

* Make the Yii framework readable by the web server.

```
chown -R www:www yii-1.1.14.f0fe99
```

* Create a database for Maestro.

```
> cd maestro/protected/data
> mysql -u root -p < ./create_db.sql
```

* Migrate the database to the current schema.

```
> cd maestro
> ./protected/yiic migrate
```

* Load demo data from the Swift Construction Company.

```
> cd maestro/protected/data
> mysql -uroot -p --local-infile=1 --show-warnings --verbose < ./load_demo.sql
```

You can now access Maestro and login (e.g. [localhost/maestro](http://localhost/maestro)).

Once you have logged in to Maestro, you are encouraged to review the Maestro [Guided Tour](http://github.com/dalers/maestro/wiki/Guided-tour), which will guide you step-by-step through configuring Maestro and using its basic features.

Version Control and Issue Tracking
{'fraction_non_alphanumeric': 0.10249571346923224, 'fraction_numerical': 0.009335111449799961, 'mean_word_length': 4.271084337349397, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 20, 'https://': 8, 'lorem ipsum': 0, 'www.': 10, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4363900', 'n_tokens_mistral': 1585, 'n_tokens_neox': 1562, 'n_words': 628}