<commit_before># Installing Alice
More to come...


## Development
If developing on Windows, install [RailsInstaller](http://railsinstaller.org/en)
(Ruby 2.3). There may be in issue with a few of the commands, so after cloning,
do the following in the alice directory (this will remove rails, but don't 
worry, it'll be reinstalled with the next step):

    gem uninstall rails 5.0.2 


On any system, do the following after the initial clone or any subsequent pull
to install any gems that were added to the Gemfile:

    bundler install

After the initial clone, do the following:

    cp application.EXAMPLE.yml config/application.yml

and fill out `config/application.yml`. For development, nothing really needs to
be filled in. This file is in the ignore list, so it will never be committed.

After the initial clone, after any pull, and after any time you add a new
migration, run the migrations in the test and development environments:

    bin/rails db:migrate
    bin/rails db:migrate RAILS_ENV=test

Any time you want to run a test, do:

    bundler exec rake test

To start the dev server, do:

    bin/rails s

That will fire up a server at http://localhost:3000 (3000 is the default port,
but if it's in use, another may be used; the port used will be displayed
in the output of the command).

When signing up, resetting your password, or changing your email address in
development mode, no real email will be sent. Instead, you can view the
appropriate email (and access the necessary activation link) by looking at
the server output (the contents of the email message will be printed in
it entirety to the console, so you can copy and paste the confirmation link).



<commit_msg>Updated instructions for installing bootsy.<commit_after># Installing Alice
More to come...


## Development

### First time setup
If developing on Windows, install [RailsInstaller](http://railsinstaller.org/en)
(Ruby 2.3). There may be in issue with a few of the commands, so after cloning,
do the following in the alice directory (this will remove rails, but don't 
worry, it'll be reinstalled with the next step):

    gem uninstall rails 5.0.2 


Install [ImageMagick](https://www.imagemagick.org/script/binary-releases.php)
(required for uploading photos). This needs to be done before running bundle
install.

On any system, do the following after the initial clone or any subsequent pull
to install any gems that were added to the Gemfile:

    bundle install

After the initial clone, do the following:

    cp application.EXAMPLE.yml config/application.yml

and fill out `config/application.yml`. For development, nothing really needs to
be filled in. This file is in the ignore list, so it will never be committed.

After the first install, configure and run migrations:

    bundle exec rake db:migrate
    bundle exec rake db:migrate RAILS_ENV=test


### After every update

Install any new gems specified in the Gemfile:

    bundle install

Run the migrations in the test and development environments:

    bundle exec rake db:migrate
    bundle exec rake db:migrate RAILS_ENV=test

Any time you want to run a test, do:

    bundle exec rake test

To start the dev server, do:

    bin/rails s

That will fire up a server at [http://localhost:3000]() (3000 is the default
port, but if it's in use, another may be used; the port used will be displayed
in the output of the command).

When signing up, resetting your password, or changing your email address in
development mode, no real email will be sent. Instead, you can view the
appropriate email (and access the necessary activation link) by looking at
the server output (the contents of the email message will be printed in
it entirety to the console, so you can copy and paste the confirmation link).




{'fraction_non_alphanumeric': 0.05386044043512868, 'fraction_numerical': 0.00689838153356328, 'mean_word_length': 3.9736147757255935, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3162782', 'n_tokens_mistral': 1056, 'n_tokens_neox': 977, 'n_words': 568}