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.
- Clone the repository into a Virtual Environment. Run
virtualenv <virtualenvname>
to create the virtual environment. - Install all the necessary requirements by running
pip install -r requirements.txt
within the virtual environment. - Configure your database setting in codango/settings.py.
- Create a .env.yml to hold all your configuration (sample shown below)
- Run
python manage.py migrate
to create the user tables and everything required to run the application. - Run
python manage.py runserver
to run the app.
sample_name:
"sample_name"
sample_api_key:
"sample_secret_key"
sample_api_secret:
"sample_secret_value"
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
- Activate virtual environment.
- Navigate into the project directory.
- Run
python manage.py test
to test codango. - Run
python manage.py test <appname>
to test an individual app. - Run
coverage run manage.py test
to run coverage for codango.
Andela © 2015 CODANGO