{"repo":"BobsProgrammingAcademy/portfolio-website-deployment","free":true,"listed":false,"github":"https://github.com/BobsProgrammingAcademy/portfolio-website-deployment","clone":"git clone https://github.com/BobsProgrammingAcademy/portfolio-website-deployment.git","description":"A portfolio website built using Django 4, Django REST Framework 3, Next.js 13, and Material UI 5. The app uses a PostgreSQL database to store data.","language":"JavaScript","stars":11,"topics":["python","django","django-rest-framework","javascript","nextjs","material-ui","postgresql","heroku","heroku-deployment"],"license":"MIT","category":"databases-storage","readme_excerpt":"Portfolio Website This is a portfolio website built using Django 4 , Django REST Framework 3 , Next.js 13 , and Material UI 5 . The app uses a PostgreSQL database to store data. Dark mode: Light mode: Table of Contents - Prerequisites - Installation - Running the application - Running the tests - Adding data to the application - Customizing the application - Deployment to Heroku - Copyright and License Prerequisites Install the following prerequisites: 1. Python 3.8-3.11 This project uses Django v4.2.4 . For Django to work, you must install a correct version of Python on your machine. More information here. 2. Node.js 3. PostgreSQL 4. Git 5. Heroku CLI 6. Visual Studio Code Other prerequisites: 1. Heroku account Installation Backend 1. Create a virtual environment From the root directory, run: 2. Activate the virtual environment From the root directory, run: On macOS: On Windows: 3. Install required backend dependencies From the root directory, run: 4. Set up a PostgreSQL database With PostgreSQL up and running, in a new Terminal window, run: Start psql , which is a terminal-based frontend to PostgreSQL, by running the command: Create a new PostgreSQL database: Create a new database admin user: To quit psql , run: 5. Set up backend environment variables From the root directory, run: The touch command will create the .env file in the config directory. This command works on Mac and Linux but not on Windows. If you are a Windows user, instead of using the command line, you can c","default_branch":null,"files":null,"tree":[],"storefront":"/r/BobsProgrammingAcademy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/BobsProgrammingAcademy/portfolio-website-deployment/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}