You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-15
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ This is a freelance developer portfolio website built using **Django 4**, **HTML
14
14
-[Copyright and License](#copyright-and-license)
15
15
16
16
17
-
###Prerequisites
17
+
## Prerequisites
18
18
19
19
Install the following prerequisites:
20
20
@@ -26,17 +26,17 @@ Install the following prerequisites:
26
26
[Live Sass Compiler](https://marketplace.visualstudio.com/items?itemName=glenn2223.live-sass) allows us to compile Sass files to CSS files in real-time. It will watch a Sass file for changes, and then it will automatically compile that Sass file into a CSS file whenever a change is made and saved.
27
27
28
28
29
-
###Installation
29
+
## Installation
30
30
31
-
####1. Create a virtual environment
31
+
### 1. Create a virtual environment
32
32
33
33
From the **root** directory, run:
34
34
35
35
```bash
36
36
python -m venv venv
37
37
```
38
38
39
-
####2. Activate the virtual environment
39
+
### 2. Activate the virtual environment
40
40
41
41
From the **root** directory, run:
42
42
@@ -52,7 +52,7 @@ On Windows:
52
52
venv\scripts\activate
53
53
```
54
54
55
-
####3. Install required dependencies
55
+
### 3. Install required dependencies
56
56
57
57
From the **root** directory, run:
58
58
@@ -69,7 +69,7 @@ cd static
69
69
npm install
70
70
```
71
71
72
-
####4. Run migrations
72
+
### 4. Run migrations
73
73
74
74
From the **root** directory, run:
75
75
@@ -80,7 +80,7 @@ python manage.py makemigrations
80
80
python manage.py migrate
81
81
```
82
82
83
-
####5. Create an admin user to access the Django Admin interface
83
+
### 5. Create an admin user to access the Django Admin interface
When prompted, enter a username, email, and password.
92
92
93
-
###Run the application
93
+
## Run the application
94
94
95
95
From the **root** directory, run:
96
96
97
97
```bash
98
98
python manage.py runserver
99
99
```
100
100
101
-
###View the application
101
+
## View the application
102
102
103
103
Go to http://127.0.0.1:8000/ to view the application.
104
104
105
-
###Add data to the application
105
+
## Add data to the application
106
106
107
107
Add data through Django Admin.
108
108
109
109
Go to http://127.0.0.1:8000/admin to access the Django Admin interface and sign in using the admin credentials.
110
110
111
-
###Customize the application
111
+
## Customize the application
112
112
113
113
This section describes how to customize the application.
114
114
115
-
####Changing Section Titles and Subtitles
115
+
### Changing Section Titles and Subtitles
116
116
117
117
#### 1. About
118
118
@@ -122,14 +122,14 @@ To modify the title and subtitle of the **About** section, make changes in the `
122
122
123
123
To modify the title and subtitle of the **Projects** section, make changes in the ```templates/index.html``` file.
124
124
125
-
####Changing Colors
125
+
### Changing Colors
126
126
127
127
To modify the colors in the application, make changes in the ```static/sass/styles.scss``` file and compile the file using the **Live Sass Compiler**, which is a Visual Studio Code Extension. Remember to set the **savePath** option in the **settings.json** file (**liveSassCompile.settings.formats** section) to **static/css** so that the generated CSS file is stored in the static/css directory.
128
128
129
-
####Changing Logo
129
+
### Changing Logo
130
130
131
131
To modify the logo in the application, make changes in the ```templates/index.html``` file.
0 commit comments