Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jiachengzhang1/portfolio-web
Portfolio website that showcases projects, work experiences and education history.
https://github.com/jiachengzhang1/portfolio-web
django django-application django-project porfolio-website portfolio portfolio-page portfolio-site
Last synced: about 17 hours ago
JSON representation
Portfolio website that showcases projects, work experiences and education history.
- Host: GitHub
- URL: https://github.com/jiachengzhang1/portfolio-web
- Owner: jiachengzhang1
- License: mit
- Created: 2020-05-23T21:12:28.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-11-22T06:38:30.000Z (almost 2 years ago)
- Last Synced: 2023-03-08T00:34:04.939Z (over 1 year ago)
- Topics: django, django-application, django-project, porfolio-website, portfolio, portfolio-page, portfolio-site
- Language: Python
- Homepage: https://jzhangdeveloper.com
- Size: 16.1 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Portfolio Website
[![Website](https://img.shields.io/website?label=jzhangdeveloper.com&logo=Website&url=https%3A%2F%2Fjzhangdeveloper.com%2Fexperience%2F)](https://jzhangdeveloper.com)
[![Build Status](https://travis-ci.org/jiachengzhang1/portfolio-web.svg?branch=master)](https://travis-ci.org/jiachengzhang1/portfolio-web)
![License](https://img.shields.io/github/license/jiachengzhang1/portfolio-web)Portfolio website that showcases projects, work experiences and education history using Django. Contents are customizable through the admin site. (The old site can be found [here](https://jiachengzhang1.github.io/portfolio-react/#/))
## Prerequisites
- [Python 3](https://www.python.org/download/releases/3.0/)
- [Python Virtual Environment](https://docs.python.org/3/library/venv.html)
- [Django](https://www.djangoproject.com)## Installing
First, clone the repository to the machine, then active the python virtual environment
```
git clone https://github.com/jiachengzhang1/portfolio-web.git
source path/to/active/file/active/
```
Go into the repository directory, install required packages
```
cd /path/to/the/repository/
pip install -r requirements.txt
```
The application uses SQLite in development and PostgreSQL in production. Django automatically creates a SQLite database for the application, so no extra settings required for development. Use `manage.py` to migrate.
```
python manage.py makemigrations
python manage.py migrate
```
Create a superuser, follow the prompts to set up the credential which is used for admin login.
```
python manage.py createsuperuser
```
To start the application,
```
python manage.py runserver
```
Now, the application is running on the localhost port 8000 `http://127.0.0.1:8000`. You can create the contents through the admin page `http://127.0.0.1:8000/admin`.## Deploy on Ubuntu Server
DigitialOcean has very good [**instructions**](https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-16-04) on deploying Django application with Postgres, Nginx, and Gunicorn.In addition, compile `SCSS` files before run `collectstatic`,
```
python manage.py compilescss
python manage.py collectstatic
```
Learn more about `django-sass-processor` through their GitHub [repository](https://github.com/jrief/django-sass-processor)## Built With
* [Django](https://www.djangoproject.com) - The web application framework used
* [django-sass-processor](https://github.com/jrief/django-sass-processor) - Compile SASS/SCSS files on the fly
* [PostgreSQL](https://www.postgresql.org/) - The database used by the application (producation)
* [SQLite](https://www.sqlite.org/index.html) - The database used by the application (development)## Authors
Jiacheng Zhang
## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details
## Acknowledgments
The design of the website is inspired by [jtom.me](https://jtom.me/) and [andrewborstein.com](https://andrewborstein.com/)