DevResources
Find all of your learning resources under one roof and add your own.
One destination for all the developer's learning resources.
✨
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/activate
On Windows-
> venv\Scripts\activate
-
Now Install the dependecies:
$ pip install -r requirements.txt
-
Creating local settings: Create a
local_settings.py
file in the same directory where yoursettings.py
resides.Copy this code in your
local_settings.py
file -DEBUG = True
-
Creating
.env
file: Create a.env
file in the same directory where yourmanage.py
resides.Copy this text in your
.env
file -SECRET_KEY = 'secretkey'
-
Run the
migrate
command:$ 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