Skip to content

This website was build under a competition organised by the Programming Club of School of Engineering and Applied Science (SEAS), Ahmedabad University (AU)

Notifications You must be signed in to change notification settings

NamitS27/PClub-Website

Repository files navigation

Programming Club Website

This website was build under a competition organised by the Programming Club of School of Engineering and Applied Science (SEAS), Ahmedabad University (AU)


Table of Contents


About The Project

Build With

  • Django
  • JavaScript
  • HTML
  • CSS/SCSS
  • Bootstrap
  • JQuery

Database Used


Getting Started

Installation

  • Clone

    git clone https://github.com/NamitS27/PClub-Website.git
  • Database (If you are using Postgres)

    • Settings.py code
    DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.postgresql_psycopg2',
          'NAME': '<database_name>',
          'USER': '<new_user>',
          'PASSWORD': '<password>',
          'HOST': 'localhost',
          'PORT': '',
      }
    }
    • Creating the databse
      CREATE DATABASE <database_name>;
    • Creating a user for the database
      CREATE USER <new_user> WITH PASSWORD '<password>';
    • Altering roles for timezones,encoding and default transaction isolation
      ALTER ROLE <new_user> SET client_encoding TO 'utf8';
      ALTER ROLE <new_user> SET default_transaction_isolation TO 'read committed';
      ALTER ROLE <new_user> SET timezone TO '<timezone>';
  • Project

    • Creating Virtual Environment

      virtualvenv myvenv
    • Install the required packages to run the project

      pip install requirements.txt
    • Following are the commands to create the tables

      python manage.py makemigrations
      • If the above part doesn't work, do makemigrations for all the apps individually
      python manage.py makemigrations <app_name>
      python manage.py migrate
      
    • Create Super User for the Admin Panel (Enter username/password as per your wish)

      python manage.py createsuperuser
    • Final command to run the server

      python manage.py runserver

Dependencies


Usage

Any educational institutions who wants a website to showcase the activities done by the club.


Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Authors


Acknowledgements

About

This website was build under a competition organised by the Programming Club of School of Engineering and Applied Science (SEAS), Ahmedabad University (AU)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published