You can connect with me through LinkedIn using the link the following link:
Table of Contents
This is a project to share my approach to building my own website using many different technologies that can be seen in the Built With section. I have used HTML5UP for the HTML templates and some images from Unsplash. The motivation behind this project is to illustrate some experience working with the technologies involved in building this project as well as managing it.
Here are the sequential steps to up and running!
-
Ensure that you have docker installed on your machine. To install docker please follow the instructions of installation in Docker's Official Website respectively.
-
Ensure that docker and docker compose work by getting a response that looks like this
~$ docker --version Docker version XX.XX.XX ...
~$ docker compose version Docker Compose version vX.XX.X ...
-
Clone the repository
git clone https://github.com/FaisalAl-Rayes/Personal-Website.git
-
Remove the suffix of ".example" from all files that have it. For instance
".env.example" file should be renamed to ".env" "db_password.secret.example" file should be renamed to "db_password.secret"
-
Enter your desired values to these former "*.example" files for example in
web_project/web/.env
(Should be done to all the *.example files)"DATABASE_NAME=YOUR_DB_NAME" ---> "DATABASE_NAME=somename"
NOTE: If you want to run it with the dummy values in the *.example files then just step 2 should be enough.
In this section you can see how to check how to use some additions to the website such as prometheus and grafana.
-
Go to
http://localhost:3000
and you should see the following -
Login with username
admin
and passwordadmin
(yes the username and password are the same)Email or username: admin Password: admin
-
You will be prompted to change the password so do so
New password: YOUR_PASSWORD Confirm new password: YOUR_PASSWORD
-
Click on
DATA SOURCES
and the selectPrometheus
-
Set
Prometheus server URL
tohttp://prometheus:9090
then scroll down and click onSave & test
-
Enter
17658
in theImport via grafana.com
section to get the django prometheus dashboard then click on theLoad
button as shown below -
Select
Prometheus (default)
in theSelect a Prometheus data source
dropdown menu and then click onImport
and you will see the dashboard displayed as seen below
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Connect with me on