-
Notifications
You must be signed in to change notification settings - Fork 244
/
README.md
106 lines (62 loc) · 2.4 KB
/
README.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<div align="center">
<img src="./screenshots/illustration.png" alt="Job Interview" width="300" height="356.5">
# Django Job Portal
</div>
## Django Job Portal
#### An open source online job portal.
<p align="center">
<img alt="forks" src="https://img.shields.io/github/forks/manjurulhoque/django-job-portal?label=Forks&style=social"/>
<img alt="stars" src="https://img.shields.io/github/stars/manjurulhoque/django-job-portal?style=social"/>
<img alt="watchers" src="https://img.shields.io/github/watchers/manjurulhoque/django-job-portal?style=social"/>
<img alt="github Actions" src="https://github.com/manjurulhoque/django-job-portal/workflows/job-portal/badge.svg"/>
</p>
Live: [Demo](https://django-job.herokuapp.com/) or [Second Demo](http://jobs.manjurulhoque.com/)
Used Tech Stack
1. Django
2. Sqlite
### Screenshots
## Home page
<img src="screenshots/one.png" height="800">
## Resume template page
<img src="screenshots/six.png" height="800">
<img src="screenshots/seven.png" height="800">
## Login page
<img src="screenshots/five.png" width="800" alt="login">
## Add new position as employer
<img src="screenshots/two.png" width="800" alt="form">
## Job details
<img src="screenshots/three.png" height="800" alt="details">
## Swagger API
<img src="screenshots/four.png" height="800">
<a name="local-venv"></a>
### Local environment
#### Install
1. Create a virtual environment
`virtualenv venv`
Or
`python3.11 -m venv venv`
2. Activate it
`source venv/bin/activate`
3. Clone the repository and install the packages in the virtual env:
`pip install -r requirements.txt`
4. Add `.env` file.
`cp .env.dev.sample .env`
5. Add Github client ID and client secret in the `.env` file
#### Run
1. With the venv activate it, execute:
python manage.py collectstatic
*Note* : Collect static is not necessary when debug is True (in dev mode)
2. Create initial database:
`python manage.py migrate`
3. Load demo data (optional):
`python manage.py loaddata fixtures/app_name_initial_data.json --app app.model_name`
4. Run server:
`python manage.py runserver`
5. Default django admin credentials:
`email: [email protected]`
`password: admin`
#### Run test:
``python manage.py test``
#### To dump data:
``python manage.py dumpdata --format=json --indent 4 app_name > app_name/fixtures/app_name_initial_data.json``
Show your support by 🌟 the project!!