<commit_before>Ember application with Django backend.
---
 
Communication happens through Django REST framework.
2 folders for this project:
  Backend: django
  Frontend: ember (following the ember-cli structure) 

Requirements:
--
sudo pip install Django

sudo pip install djangorestframework

sudo pip install rest_framework_ember

sudo pip install djorm-pgarray

django version: 1.7

A database backend for Django. PostgreSQL was used for the application, but by default the Django configuration uses SQLite.

Ember version and other dependencies 
--
jquery: 1.11.1

handlebars: 1.3.0

ember: 1.7.0

ember-data: 1.0.0-beta.11

for ember-cli (installation is optional at this point)
---
curl https://raw.githubusercontent.com/creationix/nvm/v0.12.1/install.sh | bash
source ~/.profile
nvm install [version-no]
(e.g. nvm install 0.11.13)
npm install -g ember-cli
npm install -g bower
npm install -g phantomjs
nvm alias default [version-no]
(e.g. nvm alias default v0.11.13)

How to run locally
--
Correct database settings are needed in backend/settings.py file.
After database setup, go to ember_django/ directory and execute:

python manage.py migrate

python manage.py runserver

Optionally, before the runserver command you can create a django superuser for backend management with:

python manage.py createsuperuser

To start the app, open a browser and hit 127.0.0.1:8000.


<commit_msg>Improved ember_django/README.md<commit_after>Ember application with Django backend.
---
 
Communication happens through Django REST framework.
2 folders for this project:
  Backend: django
  Frontend: ember (following the ember-cli structure) 

Requirements:
--
    sudo pip install Django
    django version: 1.7

    sudo pip install djangorestframework

    sudo pip install rest_framework_ember

    sudo pip install djorm-pgarray



A database backend for Django. PostgreSQL was used for the application, but by default the Django configuration uses SQLite.

Ember version and other dependencies 
--
    jquery: 1.11.1

    handlebars: 1.3.0

    ember: 1.7.0

    ember-data: 1.0.0-beta.11

for ember-cli (installation is optional at this point)
---
    curl https://raw.githubusercontent.com/creationix/nvm/v0.12.1/install.sh | bash
    
    source ~/.profile

    nvm install [version-no] 

(e.g. nvm install 0.11.13)
 
    npm install -g ember-cli

    npm install -g bower

    npm install -g phantomjs

    nvm alias default [version-no] 
(e.g. nvm alias default v0.11.13)

How to run locally
--
Correct database settings are needed in backend/settings.py file.
After database setup, go to ember_django/ directory and execute:

    python manage.py migrate

    python manage.py runserver

Optionally, before the runserver command you can create a django superuser for backend management with:

    python manage.py createsuperuser

To start the app, open a browser and hit 127.0.0.1:8000.




	






{'fraction_non_alphanumeric': 0.07157604955264969, 'fraction_numerical': 0.028905712319339298, 'mean_word_length': 3.458588957055215, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '5287400', 'n_tokens_mistral': 988, 'n_tokens_neox': 869, 'n_words': 345}