Skip to content

Official Repository of Team Tejas for Sushiksha Coding League, a 50-day Hackathon Organized by World Konkani Center

License

Notifications You must be signed in to change notification settings

kan12340987/Tejas-SCL-maxo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tejas-SCL-maxo


Tejas-LOGO    SCL-Logo-PNG

Tejas x SCL

NoteRepo Logo 

All your Cheatsheets, Reference Books and Practice Papers, at One Place!
Documentation

View a Live Demo · Report a Bug · Request a Feature


Logo   Powered by Django. Bootstrap logo

GitHub issues GitHub forks GitHub stars

Table of Contents
  1. About The Project
  2. Getting Started
  3. Contributing / Adding features

About the Project

Project Description

  1. Backend Framework: Django
  2. Front-end Framework: Bootstrap
  3. Database used: Sqlite

Getting Started

Installation

  1. Fork and Clone

    1. Fork the Tejas-SCL-maxo Repository
    2. Clone the repo to your local system.
  2. Create a Virtual Environment for the Project

    In Windows

    pip install virtualenv
    virtualenv venv
    venv\Scripts\activate

    In Ubuntu/MacOS

    python -m virtualenv venv
    
    source venv/bin/activate

    If you are using another name for the virtual environment other than venv, then please mention it in .gitignore.

  3. Install all the requirements

    pip install -r requirements.txt

Development

  1. Checkout to a different branch
    git status
    git pull
    git branch
    git checkout -b <your-branch-here>
    
    

Note: the python-openid and python3-openid package that come alone with the social-auth package are bugged. to fix this issue, run the following command:

pip uninstall python-openid && pip uninstall python3-openid

press 'y' if asked for authorisation.

then reinstall the uninstalled packages

pip install python-openid && pip install python3-openid

and then continue with the following instructions

  1. Make migrations/ Create db.sqlite3

    python manage.py makemigrations
    python manage.py migrate
  2. Create a super user. In Django, if you want to access admin page, you need to create an account with staff status first.

    python manage.py createsuperuser
    

    Then select your username and password. You can bypass a common password for development purposes.

  3. Run the server on localhost:

    python manage.py runserver
  4. Make the changes and send a PR, referencing the changes.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change in the project.





Documentation



Table of Contents
  1. Logging In
  2. Utility
  3. Admin only Section


Logging In


Creating an account


You can create an account on NoteRepo by clicking on the Log In button on the top right corner of the Main Page



Logging options


Once in, you should see a Sign In screen. If you already have an account, you can Sign In directly from here. You can also Sign In through sites like Facebook, GitHub, Google or LinkedIn (Note: Some functions could still be under development) Else, you can click on the Sign Up button towards the left to Sign Up to NoteRepo.



Logging in after Sign Up


Once in the Sign Up screen, you can fill in basic details like username and you E-Mail to sign up to NoteRepo. You can also Sign Up through sites like Facebook, GitHub, Google or LinkedIn (Note: Some functions could still be under development)


Note: You may be redirected to the Sign In page after signing up. You can sign in by re-entering the details you provided during sign up.


Once Logged in, you should be seeing the following landing page. If you do not however, try logging in again.



Log out


To log out, click on the the Profile option on the Navigation Bar towards the top right.


This will open up the profile section. From here click on your username on the top right.


From the drop-down menu, click on Logout. This should log you out and take you make to the Home Page.



Utility


The Home page


Once logged in, the landing page will the first thing you will see. This is the hub of the website which includes various option.



Utility Options

Navigation Bar

  • Home - Takes you to the Home Page(current page)


  • About Us - Takes us to the about us section of the page



  • Forums - Takes you the forum section of the page


  • Contact Us - To send us a message

  • Use this form to contact us.
    Submit details like you name, email and a message for us to get back to you



  • Profile - Takes you to the profile section



Main Page

  • Notes - Takes you to the Cheatsheets/Notes section



  • References - Takes you to the References/textbooks section



  • Papers - takes you to the Question papers section





Request Button

You can request for books and other resources through the request button from either of the three resource pages

  1. Click on the request button.



  1. Fill up the form with necessary information and wait for us to get back.



You can View and Download any of the listed books by clicking on Download. The links will take you to Google PDF Links and all options provided by Google PDF viewer will be available (requires you to login to you Google account)

  1. The search function is currently under development.


Forums



The forum is inspired by DataFlair forums

The Forum app can be used to request features, discuss with other users and also comment views about the website

  1. To get into the forum, first login or sign up through the main page.

2. From the Home Page, Choose the ```Forum``` from the Navigation Bar.



  1. Here you can discuss on the existing forum posts by other users, or choose the Add more option on the top right corner.



  1. Here, you can fill in details to raise an issue on the forum to discuss.



  1. After The issue being raised, you or other users can add views or comments to the forum issue.



  1. You can fill in the details for the comment or the views and click on submit to submit the view.



  1. This will be shown below the forum post as a comment. you can add more comments and views.





Contact Us

This Feature is currently under Development



Profile Section


In this section, the user will be able to add details about himself. All of this data is kept private and not shared with anyone.



Admin Only Section


This section requires superuser status or staff user permission to be accessed. to know more, visit the Creating a super user section in the Development tab above.

After this you can visit the admin section by adding admin to the end of the url after host eg: 127.0.0.1:8080/admin



Adding New Users


There are two way of adding users.
  1. Through the normal Sign In page. This directly adds users to the admin section
  2. Adding users through the admin section:
    1. Go to the admin section by following the instructions above.



    2. Select the users section on the left then select add users on the top right



    3. Here you can add details of the user and they will be registered as a user.



Adding resources

Adding resources like Cheatsheets, Reference books and question papers can only be done by Super Users or users with Staff Status and via the Admin section. Refer details about Admin section and Creating a super user above.

  1. Visit the Admin section



  2. Choose any of the options from Q Papers, Notes, Textbooks



  3. Once selected, you will be presented with a form of details to fill for each of the 3 addable resources, you can fill these up and this, will add a new addab;e to the table.









About

Official Repository of Team Tejas for Sushiksha Coding League, a 50-day Hackathon Organized by World Konkani Center

Resources

License

Stars

Watchers

Forks

Packages

No packages published