https://github.com/tcpirate1/portfolio-django
Using Django to create a new site to replace my current one. The hosting site I have chosen is pythonanywhere
https://github.com/tcpirate1/portfolio-django
django pythonanywhere
Last synced: about 1 year ago
JSON representation
Using Django to create a new site to replace my current one. The hosting site I have chosen is pythonanywhere
- Host: GitHub
- URL: https://github.com/tcpirate1/portfolio-django
- Owner: TcPirate1
- Archived: true
- Created: 2022-12-26T22:46:49.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-31T06:38:51.000Z (about 3 years ago)
- Last Synced: 2025-03-05T09:25:27.375Z (over 1 year ago)
- Topics: django, pythonanywhere
- Language: JavaScript
- Homepage: https://tcdjangosite.pythonanywhere.com/
- Size: 2.05 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Portfolio website
Welcome to my website repository.
This is created with Django as a way to practice the framework but also as a replacement for the previous templated HTML/CSS site I used to use.
## Setting up the repository locally
- Clone the repo to whichever directory you desire. Make note of which OS its on
- [Create a Python virtual environment](#Creating-the-Python-virtual-environment)
- [Activate the virtual environment](#Activating-Python-virtual-environment) and install the dependencies with `
py -m pip install -r requirements.txt` on Windows and `python -m pip install -r requirements.txt` on Unix/Mac
- Use `py manage.py runserver` for Windows and `python3 manage.py runserver` for Unix/Mac, to start the site on a Django development server.
## Creating the Python virtual environment
`py -m venv ` - Windows
`python3 -m venv ` - Unix/Mac
## Activating Python virtual environment
`\Scripts\activate` - Windows
`source /bin/activate` - Unix/Mac