About composer: Presumably we will want a composer template, so that people can also build their own composer project. The `civicrm/civicrm-standalone` git repo was created mostly to package the `index.php` and help setup the directories, but also has an htaccess file, config template and other things to get started.
### Initialize the database using GenCode
Run the following shell command. (The brackets mean it runs in a subshell so doesn't change your working directory.)
```
( cd vendor/civicrm/civicrm-core/xml && php GenCode.php 0 0 Standalone; )
```
Then you can use the civicrm.mysql (schema) and civicrm_data.mysql (base data) files in `vendor/civicrm/civicrm-core/sql` (or if you want sample data you can use civicrm_generated.mysql instead of civicrm_data.mysql).
The following assumes you have stored credentials for mysql set up in your `~/.my.cnf` file. If not, you'll need to add `-u <user> -p <pass>` arguments to the `mysql` commands below.
Example:
```
mysql -e "CREATE DATABASE standalone_civicrm;"
mysql standalone_civicrm < vendor/civicrm/civicrm-core/sql/civicrm.mysql
mysql standalone_civicrm < vendor/civicrm/civicrm-core/sql/civicrm_Data.mysql
```
Currently, if you want to install Standalone for the purposes of development or interest, you can do so by following the instructions at https://github.com/artfulrobot/civicrm-standalone/blob/artfulrobot-clean-install-paths/README.md