DevResources

One destination for all the developer's learning resources.
Find all of your learning resources under one roof and add your own.

Screenshot :camera:

cap

Features :information_source:

:heavy_check_mark: Responsive UI

:heavy_check_mark: Authentication System

:heavy_check_mark: Add / Update / Delete / View new resources of your own under specific categories

:heavy_check_mark: Searching/Browsing the existing resources

:heavy_check_mark: Top 3 watched resources


Add your own learning resource :fire:

:one: Login to your account (if not create one)

:two: Once logged in , click on the add icon which navigates to the add resources page

:three: Enter Title , Resource URL , Categories (more than one if applicable) and hit save

:four: Check whether your resource added is present in the Resources Added by You icon present at the top of the page or you may find it using the searchbox functionality


Set this project locally :computer:

  1. Go to the project repo and fork it by clicking "Fork" ( or Download the Zip file directly and start from the step 3 )

  2. Open terminal / command prompt and Clone the project using git clone https://github.com/YOUR_USERNAME/devresources.git

  3. Create a python3 virtual environment:

    $ python3 -m venv venv
    

    Or, use virtualenv:

    $ virtualenv venv
    
  4. Activate the virtual environment:

    On Linux or Mac or any Unix based system-

    $ source venv/bin/activate
    

    On Windows-

    > venv\Scripts\activate
    
  5. Now Install the dependecies:

    $ pip install -r requirements.txt
    
  6. Creating local settings:
    Create a local_settings.py file in the same directory where your settings.py resides.

    Copy this code in your local_settings.py file -

    DEBUG = True
    
  7. Creating .env file:
    Create a .env file in the same directory where your manage.py resides.

    Copy this text in your .env file -

    SECRET_KEY = 'secretkey'
    
  8. Run the migrate command:

    $ python manage.py migrate
    
  9. Now you are ready to go:

    Run the application

    $ python manage.py runserver
    
  10. Optionally you can also add some dump data into your local database using this command:

    Add redacted dump data

    Note: Please run these commands in the same order it has been written here, either it will cause integrity error in your database.

    $ python manage.py loaddata fixtures/ResourceCategory.json
    
    $ python manage.py loaddata fixtures/Resource.json