Skip to content
Home of the techspace community.
JavaScript CSS HTML Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
blog Deleted migrations 0015 and 0016 from blogs. Sep 24, 2018
codeschool AddEvent changed to Event (model) Aug 25, 2018
cogitans AddEvent changed to Event (model) Aug 25, 2018
community redirected to login instead of removing upvote button if not signed in Aug 28, 2018
droidclub AddEvent changed to Event (model) Aug 25, 2018
ecell AddEvent changed to Event (model) Aug 25, 2018
electrotech
event Added alumni section. Sep 24, 2018
home Hall of fame URL repaired Sep 24, 2018
latest blog detail ajax fixed, userprofile default profile_pic added Aug 25, 2018
log added homebutton at navbar Sep 11, 2019
media timezone bug fixed Aug 17, 2018
oslc AddEvent changed to Event (model) Aug 25, 2018
renderedusict rendered usict page working Sep 11, 2019
rooters rooters page and link fixed Sep 11, 2019
static Added banner top Feb 3, 2019
techspace changed recaptcha keys for testing purposes Sep 11, 2019
templates User name added to navbar when logged in Sep 12, 2019
turingai AddEvent changed to Event (model) Aug 25, 2018
.gitignore added build in gitignore Aug 23, 2018
README.md updated readme Oct 2, 2018
contribution-guide.md Update contribution-guide.md Sep 23, 2018
gulpfile.js minor facelifts. Aug 14, 2018
manage.py intial release 0.0.1 Sep 6, 2017
package-lock.json Static management. Aug 13, 2018
package.json Static management. Aug 13, 2018
requirements.txt Added cloudinary in requirements.txt Aug 25, 2018

README.md

README

techspace-web

Home of techspace

To contribute check out the Contributor's Guide.

Report a bug

This README would normally document whatever steps are necessary to get the application up and running.

Running techspace-web on your system:

  1. Make sure you have Python 3 and pip setup on your computer. https://www.makeuseof.com/tag/install-pip-for-python/

  2. Make sure you have virtual environment installed. To check run command $ pip freeze To install virtual environment$ pip install virtualenv

  3. Clone the repository.

  4. cd into project cd techspace-web

  5. Create and activate virtual environment for the project

    $ python3 -m virtualenv env
    $ source env/bin/activate
    
  6. Install requirements $ pip3 install -r requirements.txt

  7. Now run the server:

    $ python manage.py runserver
    
  8. Make migrations to the database using the following commands:

    $ python manage.py makemigrations
    $ python manage.py migrate
    
  9. Now open localhost:8000 in browser and the application must be running.

  10. Every time to run the project first activate virtual environment and then run the server

    $ source env/bin/activate
    $ python manage.py runserver
    

cloudinary configuration

  1. Install Cloudinary's module using pip pip install cloudinary

  2. Add "cloudinary" to the list of INSTALLED_APPS in settings.py.

  3. Include Cloudinary's Python classes in settings.py

   import cloudinary
   import cloudinary.uploader
   import cloudinary.api 
  1. Initalize Cloudinary tags in your Django templates {% load cloudinary %}

  2. Create account and setup api in cloudinary at https://cloudinary.com/

  3. Configure cloudinary api in settings.py

  cloudinary.config( 
     cloud_name = "cloud_name",
     api_key = "api_key",
     api_secret = "api_secret",
     secure = "True",
  )

Cheers !!!! you are ready to go . For more details read https://cloudinary.com/documentation/django_integration#django_getting_started_guide

You can’t perform that action at this time.