A simple URL shortener implemented in Python with a touch of JS.
See the URL shortener in action: urlshort.xyz
-
Clone the repository:
git clone https://github.com/Filo6699/url_shortener
-
(Optional) Create a virtual environment:
python -m venv venv
-
Install dependencies:
pip install -r requirements.txt
Note: For psycopg2, you can follow this guide. Consider using pre-compiled binaries if you are exploring for fun.
-
Create a
.env
file based on.env.example
. -
Run the application:
gunicorn -c gunicorn_config.py wsgi:app