Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vintage/szorty

Simple application for shortening your URLs
https://github.com/vintage/szorty

Last synced: about 1 month ago
JSON representation

Simple application for shortening your URLs

Awesome Lists containing this project

README

        

## Szorty - web Django app for URLs shortening

1. Install all required dependencies:
*pip install -r requirements.txt*

2. Setup database
*./manage.py migrate*

3. Collect all static files
*./manage.py collectstatic*

3. Import words for URL shortening from text file into database. Each word should be placed in new line.
*./manage.py import_words *
If you don't have word file with you, you can import the default one using:
*./manage.py import_words szorty/static/words.txt*

4. Run the server using
*./manage.py runserver localhost:8000*

5. Open your webbrowser and point to
*http://localhost:8000*