This is a job recruitment site powered by django. The entire project was created using django's Class Based Views (CBV). This is still a work in progress but would give you an understanding of creating related sites like this.
- Custom User Model
- Stripe Integration
- User Roles
- Ajax Forms
- Custom Model Managers
- Bulma Framework for Design
Create a folder on your computer then clone this repo with this command:
git clone https://github.com/fleepgeek/django-jobsite.git
#Next
cd django-jobsite/src
I used pipenv to create a virtual environment, so you install pipenv globally on your computer:
pip install pipenv
Create a .env
file and include your stripe details (You must have a stripe account):
STRIPE_PUB_KEY=your_public_key
STRIPE_SECRET_KEY=your_secret_key
Also, update the stripe_custom.js
file with your stripe key like so:var stripe = Stripe('your_pk')
Create a new virtual environment:
pipenv shell
Next, install required packages stored in the Pipfile.lock
file using the sync
command.
pipenv sync
Then you run your migrations:
python manage.py makemigrations
python manage.py migrate
You're good to go โจ
If you read this guide up to this point, you should definately checkout my YouTube Channel for Django related tutorials.