20 lines
382 B
Markdown
20 lines
382 B
Markdown
# URL Shortener
|
|
There are many; this is mine.
|
|
|
|
## Bundling for upload
|
|
Create a virtual environment
|
|
|
|
python -m venv venv
|
|
source venv/bin/activate
|
|
|
|
Install dependencies
|
|
|
|
python -m pip install -r requirements.txt
|
|
|
|
Zip it all up
|
|
|
|
cd venv/lib/python3.10/site-packages
|
|
zip -r ../../../../urlshorten.zip .
|
|
cd ../../../../
|
|
zip -g urlshorten.zip urlshorten.py
|