<commit_before># Tips on Rails

<a href="https://assembly.com/tips-on-rails/bounties?utm_campaign=assemblage&utm_source=tips-on-rails&utm_medium=repo_badge"><img src="https://asm-badger.herokuapp.com/tips-on-rails/badges/tasks.svg" height="24px" alt="Open Tasks" /></a>

## Professional network for Rails developers

This is a product being built by the Assembly community. You can help push this idea forward by visiting [https://assembly.com/tips-on-rails](https://assembly.com/tips-on-rails).

### How Assembly Works

Assembly products are like open-source and made with contributions from the community. Assembly handles the boring stuff like hosting, support, financing, legal, etc. Once the product launches we collect the revenue and split the profits amongst the contributors.

Visit [https://assembly.com](https://assembly.com) to learn more.<commit_msg>Add information to the README file about TOR<commit_after># Tips on Rails

<a href="https://assembly.com/tips-on-rails/bounties?utm_campaign=assemblage&utm_source=tips-on-rails&utm_medium=repo_badge"><img src="https://asm-badger.herokuapp.com/tips-on-rails/badges/tasks.svg" height="24px" alt="Open Tasks" /></a>

Ever been in a situation where your just not sure where to start? How to implement a specific part of your rails application? Completely mystified about how to test for a specific behavior?

Tips on Rails was made for people just like you. It's here as a tool to enable Rails users to learn, post, and socialize about the latest and greatest tips out there!

## Getting started with Tips on Rails

Tips on Rails is ran on the Thin web server using environment variables. You'll need to complete the following steps to get it running.

**Create _.env_ file, with the following information:**

    PORT=5100 (your port number could be any four-digits)
    RACK_ENV=development
    DB_DATABASE=TipsonRails_development
    DB_USERNAME=localdev
    DB_PASSWORD=password

**Create file _Procfile.dev_, with the following information:**

    web: bundle exec rails server thin -p $PORT -e $RACK_ENV

**In the command line, run:**

    bundle

**Make sure you have the foreman gem instaled:**

    foreman

If the Terminal tells you that it can't find it, you'll have to get it. Go to https://github.com/ddollar/foreman and follow the instructions.


**Get your development and test databases ready:**

    foreman run rake db:setup
    foreman run rake db:migrate RAILS_ENV=test

**Start the application:**

    foreman start -f Procfile.dev

**Go to:**

    localhost:5100/ (use the port number you specified in the .env file)

## Generating Faker data

**To generate Faker data**

We have developed fake data for the database, so you can see in real time what the site would like with users. To access this fake data, you need to run:

    foreman run rake db:populate

## Professional network for Rails developers

This is a product being built by the Assembly community. You can help push this idea forward by visiting [https://assembly.com/tips-on-rails](https://assembly.com/tips-on-rails).

### How Assembly Works

Assembly products are like open-source and made with contributions from the community. Assembly handles the boring stuff like hosting, support, financing, legal, etc. Once the product launches we collect the revenue and split the profits amongst the contributors.

Visit [https://assembly.com](https://assembly.com) to learn more.
{'fraction_non_alphanumeric': 0.08591466978375219, 'fraction_numerical': 0.0035067212156633548, 'mean_word_length': 4.485576923076923, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 13, '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': '3559007', 'n_tokens_mistral': 996, 'n_tokens_neox': 942, 'n_words': 416}