Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/miirzamiir/url-shortener
A simple URL shortener with django.
https://github.com/miirzamiir/url-shortener
django docker nginx python
Last synced: 22 days ago
JSON representation
A simple URL shortener with django.
- Host: GitHub
- URL: https://github.com/miirzamiir/url-shortener
- Owner: miirzamiir
- License: mit
- Created: 2022-05-30T20:57:24.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-07-03T19:56:49.000Z (over 2 years ago)
- Last Synced: 2024-11-24T10:27:45.198Z (3 months ago)
- Topics: django, docker, nginx, python
- Language: Python
- Homepage:
- Size: 620 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# URL-shortener
A simple URL shortener using python and django.With this simple tool you can shorten your long URL to a simple and short one.
Tools
---
- python
- django
- docker
- nginx
- html/css
Run Project
---
After cloning project, you can simply run this project by following instructions bellow.### 1- environment variables.
create a `.env` file and set value for `SECRET_KEY`, `POSTGRES_NAME`, `POSTGRES_USER` and `POSTGRES_PASSWORD` keys.
### 2- install docker and docker-compose.
you can install docker from [here](https://docs.docker.com/engine/install/).### 3- docker commands.
open a terminal and run command bellow.
```
docker-compose up
```
this command will run project on `localhost:8000` and you will be able to visit that by your favorite browser.