Skip to content

ladeoshodi/codango-debug

Repository files navigation

Codango

Description

Codango is a Resource Sharing Social Network for Coders.

Codango resource sharing includes Code Snippets posting and Pdf uploads, also Codango allows for Pair Programming and Networking among coders.

Installation

  1. Clone the repository into a Virtual Environment. Run virtualenv <virtualenvname> to create the virtual environment.
  2. Install all the necessary requirements by running pip install -r requirements.txt within the virtual environment.
  3. Configure your database setting in codango/settings.py.
  4. Create a .env.yml to hold all your configuration (sample shown below)
  5. Run python manage.py migrate to create the user tables and everything required to run the application.
  6. Run python manage.py runserver to run the app.

Sample .env.yml format

sample_name:
  "sample_name"
sample_api_key:
  "sample_secret_key"
sample_api_secret:
  "sample_secret_value"

Requirements

The following are the installed requirements for codango

  • cloudinary==1.1.3
  • coverage==3.7.1
  • dj-database-url==0.3.0
  • Django==1.8.3
  • django-bootstrap-form==3.2
  • django-bower==5.0.4
  • django-postgrespool==0.3.0
  • funcsigs==0.4
  • gunicorn==19.3.0
  • hashids==1.1.0
  • mock==1.3.0
  • pbr==1.5.0
  • Pillow==2.9.0
  • psycopg2==2.6.1
  • requests==2.7.0
  • selenium==2.47.1
  • six==1.9.0
  • SQLAlchemy==1.0.8
  • wheel==0.24.0
  • whitenoise==2.0.3

Running tests

  1. Activate virtual environment.
  2. Navigate into the project directory.
  3. Run python manage.py test to test codango.
  4. Run python manage.py test <appname> to test an individual app.
  5. Run coverage run manage.py test to run coverage for codango.

Authors

Copyright

Andela © 2015 CODANGO

About

Debugging Codango

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •