<commit_before># README

This README would normally document whatever steps are necessary to get the
application up and running.

Things you may want to cover:

* Developed with Ruby 2.4

* System dependencies

* Configuration

* Database creation

* Database initialization

* How to run the test suite

* Services (job queues, cache servers, search engines, etc.)

* Deployment instructions

* ...

# Requirements

* Ruby >= 2.4
* Rails >= 5.0

# Local setup
` git clone https://github.com/johan-andersson01/biblion.git`

` cd /your_path/biblion`

` bundle install `

` rails db:migrate`

` rails db:seed`

` rails s `

After executing these commands, the server will be up and running at localhost:3000.

You will have created one admin user with the `db:seed` command, with the following credentials:

> email: <EMAIL>

> password: <PASSWORD>

# Porting to another language

Since this project has been built for Swedish users in mind, much of the interface is written in Swedish. Here are some tips if you want to port this project to another language & location:

* Go through all files under `/app/views/` and look for Swedish words and sentences.
* Replace all instances of `CS.states(:se)` with your country of choice.
<commit_msg>remove pw autocomplete from users#edit<commit_after># README

This README would normally document whatever steps are necessary to get the
application up and running.

Things you may want to cover:

* Developed with Ruby 2.4

* System dependencies

* Configuration

* Database creation

* Database initialization

* How to run the test suite

* Services (job queues, cache servers, search engines, etc.)

* Deployment instructions

* ...

# Requirements

* Ruby >= 2.4
* Rails >= 5.0

# Local setup

` cd /your_path/`

` git clone https://github.com/johan-andersson01/biblion.git`

` cd biblion`

` bundle install `

` rails db:migrate`

` rails db:seed`

` rails s `

After executing these commands, the server will be up and running at localhost:3000.

You will have created one admin user with the `db:seed` command, with the following credentials:

> email: <EMAIL>

> password: <PASSWORD>

These can be changed later when logging in in the browser.

# Porting to another language

Since this project has been built for Swedish users in mind, much of the interface is written in Swedish. Here are some tips if you want to port this project to another language & location:

* Go through all files under `/app/views/` and look for Swedish words and sentences.
* Replace all instances of `CS.states(:se)` with your country of choice.

{'fraction_non_alphanumeric': 0.07536907536907538, 'fraction_numerical': 0.009324009324009324, 'mean_word_length': 4.019493177387914, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 15, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, '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': '2030518', 'n_tokens_mistral': 766, 'n_tokens_neox': 724, 'n_words': 345}