https://github.com/sfinx13/django-craiglist
[WIP] Craigslist Redesign with Django and deployed to digital ocean via github action pipeline
https://github.com/sfinx13/django-craiglist
ci-cd continous-deployment continous-integration continuous-delivery digitalocean digitalocean-droplets django docker github-actions postgresql python
Last synced: about 2 months ago
JSON representation
[WIP] Craigslist Redesign with Django and deployed to digital ocean via github action pipeline
- Host: GitHub
- URL: https://github.com/sfinx13/django-craiglist
- Owner: sfinx13
- Created: 2022-04-26T00:43:39.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-27T17:39:36.000Z (about 1 year ago)
- Last Synced: 2025-03-27T18:34:28.372Z (about 1 year ago)
- Topics: ci-cd, continous-deployment, continous-integration, continuous-delivery, digitalocean, digitalocean-droplets, django, docker, github-actions, postgresql, python
- Language: Python
- Homepage:
- Size: 925 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# Craigslist Redesign - Django and deployed to digital ocean
The objective is to integrate the design proposed by Rabih Shasha with django framework
Feel free to read his case study post
[Craigslist Redesign — a UI/UX Case Study](https://medium.com/@rabihshasha/craigslist-redesign-case-study-ui-ux-a10f2f1a9a83).

## Installation
### Create ane activate virtual environment
```bash
$ make venv
$ source env/bin/activate
$ make setup
```
## Development
### Run locally
Run with django web server | Run with docker
:-------------------------:|:-------------------------:
```$ make up && make runsever``` | ```$ make up```
The development server : http://127.0.0.1:8000/
Admin panel: http://127.0.0.1:8000/admin
## Production
http://164.92.152.36/
## Usage
|Commands |Description |
|---------|-------------|
|make clean| Clean up the __pycache__ folder |
|make venv| Create virtual environnement |
|make setup| Install dependencies |
|make build| Restart containers |
|make up| Start container |
|make down| Shutdown container |
|make restart| Restart container |
|make app_db| Login inside database container |
|make app_web| Login inside database container |
|make runserver| Run django web server |
|make migration| Make migrations |
|make migrate| Apply migrations |
|make superuser| Create super user |
|make test| Run test |
|make lint | Lint |
|make ci | Run CI locally with act |
|make ssh | Connect to droplet ssh |
|make droplet-status | Get droplet status |
|make db-status | Get database status |
|make account | Get account digital ocean |