DevResources
One destination for all the developer's learning resources.
Find all of your learning resources under one roof and add your own.
Live
✨
You can find the project live here
Screenshot
📷
Features
ℹ️
Add your own learning resource
🔥
Set this project locally
💻
-
Go to the project repo and fork it by clicking "Fork" ( or Download the Zip file directly and start from the step 3 )
-
Open terminal / command prompt and Clone the project using
git clone https://github.com/YOUR_USERNAME/devresources.git -
Create a python3 virtual environment:
$ python3 -m venv venv
Or, use virtualenv:
$ virtualenv venv
-
Activate the virtual environment:
On Linux or Mac or any Unix based system-
$ source venv/bin/activateOn Windows-
> venv\Scripts\activate -
Now Install the dependecies:
$ pip install -r requirements.txt
-
Creating local settings: Create a
local_settings.pyfile in the same directory where yoursettings.pyresides.Copy this code in your
local_settings.pyfile -DEBUG = True -
Creating
.envfile: Create a.envfile in the same directory where yourmanage.pyresides.Copy this text in your
.envfile -SECRET_KEY = 'secretkey' -
Run the
migratecommand:$ python manage.py migrate
-
Now you are ready to go:
Run the application
$ python manage.py runserver
-
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