aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 4fdd81064286ae24af3b366f8f299e156ee5d9ef (plain)
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
# That Computer Scientist
Source Code for my Personal Website.

- Visit [thatcomputerscientist.com](https://thatcomputerscientist.com) to take a look at the current build.

- Visit [preview.thatcomputerscientist.com](https://preview.thatcomputerscientist.com) to see a instant live deployment of changes whenever I start changing something on my local machine. (_Availability of this server is not guaranteed as it is only active whenever I am working on the project_. Also, sometimes I keep the project loaded in my code editor, while being idle or doing something else – the link is viewable during this time as well.)

## Screenshot
![Live Screenshot](https://thatcomputerscientist.com/ignis/screenshot)

> <sub><sup>_Screenshot served live from [thatcomputerscientist.com](https://thatcomputerscientist.com)'s server. For efficiency purposes, the screenshot is taken once per build and is served from the server's cache. The screenshot is updated whenever I push changes to this repository. Screenshots will generally be updated within 20 seconds after all GitHub Actions Workflows have completed._</sup></sub>

## Specifications
- Server: [Nginx](https://www.nginx.com/)
- Language: [Python](https://www.python.org/), [HTML](https://www.w3schools.com/html/), [CSS](https://www.w3schools.com/css/), [JavaScript](https://www.javascript.com/)
- Framework: [Django](https://www.djangoproject.com/)
- Database: [Sqlite](https://www.sqlite.org/index.html)
- Deployment: [Oracle Cloud](https://www.oracle.com/cloud/)
- HTML Compatibility: [HTML4](https://www.w3.org/TR/html4/), [HTML5](https://www.w3.org/TR/html5/)
- CSS Compatibility: [CSS2](https://www.w3.org/TR/CSS2/), [CSS3](https://www.w3.org/TR/CSS3/)

## Installation
Install [Python](https://www.python.org/downloads/). Then install requirements:
```bash
pip install -r requirements.txt
```

## Start the Server

> **Note**: You will need to change the `CSRF_TRUSTED_ORIGINS`, `SESSION_COOKIE_DOMAIN`, and `DOMAIN_NAME` settings in `settings.py` accordingly.

To start the server, run:
```bash
python manage.py runserver
```

<!-- Footnotes -->
#### Footnotes

- [Archived Branch](https://github.com/luciferreeves/thatcomputerscientist/tree/archived) (Written in NodeJS + Express - **Status**: Basic Auth and APIs Implemented)
- For licensing information, please refer to the [LICENSE](LICENSE) file.