<commit_before>README
======

[![Code Climate](https://codeclimate.com/github/joatuapp/joatu-app.png)](https://codeclimate.com/github/joatuapp/joatu-app)
[![Build Status](https://travis-ci.org/joatuapp/joatu-app.svg?branch=develop)](https://travis-ci.org/joatuapp/joatu-app)
[![Test Coverage](https://codeclimate.com/github/joatuapp/joatu-app/badges/coverage.svg)](https://codeclimate.com/github/joatuapp/joatu-app)

About the Project
-----------------
The Jack Of All Trade Universe is an online marketplace for self-organized exchanges. The JoatUnit is a currency that is generated to promote community activities such as planting community gardens or teaching classes. More information can be found at [joatu.com](http://www.joatu.com)

Contributions
-------------
Contributions are welcome. If you wish to help with the project, please consider [donating to our crowdfunding campaign](http://love.joatu.com) or [contact us about volunteering](http://joatu.com/alpha/volunteer/)

If you are a Ruby on Rails or Javascript developer and are interested in contributing to JoatU we'd especially love to hear from you! JoatU is currently being programmed by volunteers, and another pair of hands is always welcome. If you're interested please [contact us](http://joatu.com/alpha/volunteer/) and we'll be in touch with more details of what we're currently working on so you can choose a feature and get started!

Getting Started
--------------
The easiest way to start developing JoatU is to use our [fig](http://www.fig.sh/) environment.
* Follow the instructions [here](http://www.fig.sh/install.html) to install Docker and Fig (if on OSX, follow the instructions to install docker-osx) instead of docker.
* Clone this repository
* Change to the repository root: `cd joatu-app`
* Copy docker-bundle-config to .bundle/config, creating the .bundle directory if necessary.
* Run `fig up` to start fig! (this will take a while the first time, but will be much quicker on subsequent runs).
* In another terminal, run `fig run web rake db:migrate` to run migrations.
* Visit localhost:8080 to view the site!


Fig is the prefered way to develop JoatU, but if you are an experienced developer and have a development environment configured on your machine, you can also run JoatU locally by following these steps:
* Ensure your system meets the requirements:
  * Ruby 2.1.0 installed
  * Postgress 9.3 installed, with the Postgis extension
* Clone the repository 
* Change to the repository root: `cd joatu-app`
* Run `bundle install`
* Run `bundle exec thor joatu setup`. This will configure the database.
* Run `bundle exec foreman start` to start unicorn & postgres.   
* Visit localhost:8080 to view the site.<commit_msg>Update README. Removed FIG config instructions, as we're moving away from Docker.<commit_after>README
======

[![Code Climate](https://codeclimate.com/github/joatuapp/joatu-app.png)](https://codeclimate.com/github/joatuapp/joatu-app)
[![Build Status](https://travis-ci.org/joatuapp/joatu-app.svg?branch=develop)](https://travis-ci.org/joatuapp/joatu-app)
[![Test Coverage](https://codeclimate.com/github/joatuapp/joatu-app/badges/coverage.svg)](https://codeclimate.com/github/joatuapp/joatu-app)

About the Project
-----------------
The Jack Of All Trade Universe is an online marketplace for self-organized exchanges. The JoatUnit is a currency that is generated to promote community activities such as planting community gardens or teaching classes. More information can be found at [joatu.com](http://www.joatu.com)

Contributions
-------------
Contributions are welcome. If you wish to help with the project, please consider [donating to our crowdfunding campaign](http://love.joatu.com) or [contact us about volunteering](http://joatu.com/alpha/volunteer/)

If you are a Ruby on Rails or Javascript developer and are interested in contributing to JoatU we'd especially love to hear from you! JoatU is currently being programmed by volunteers, and another pair of hands is always welcome. If you're interested please [contact us](http://joatu.com/alpha/volunteer/) and we'll be in touch with more details of what we're currently working on so you can choose a feature and get started!

Getting Started
--------------
You can run JoatU locally by following these steps:
* Ensure your system meets the requirements:
  * [Ruby](https://www.ruby-lang.org/en/) installed. (check the .ruby-version
    file for the exact version we're currently using!)
  * [Postgress 9.3](http://www.postgresql.org/download/) installed, with the [Postgis](http://postgis.net/) extension also installed.
* Clone this repository 
* Change to the repository root: `cd joatu-app`
* Run `bundle install`
* Run `bundle exec thor joatu setup`. This will configure the database.
* Run `bundle exec foreman start` to start unicorn & postgres.   
* Visit localhost:8080 to view the site.
{'fraction_non_alphanumeric': 0.11138461538461539, 'fraction_numerical': 0.0038974358974358976, 'mean_word_length': 4.311546840958606, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 13, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2290678', 'n_tokens_mistral': 1394, 'n_tokens_neox': 1362, 'n_words': 557}