O encurtador de url permite reduzir o tamanho de um url. Tornando o url curto e limpo.
Clone o repositorio https://github.com/mariomthree/url-shortener
para a sua maquina.
Esta configuração é necessária para poder instalar as dependências do projeto.
Linux e macOS:
$ python3 -m pip install --user virtualenv
$ virtualenv -p python3 .
$ source bin/activate
$ which python
$ pip3 install django
Windows:
$ py -m pip install --user virtualenv
$ py -m venv env
$ .\env\Scripts\activate
$ where python
$ pip install django
Abra o projecto com o terminal da sua maquina e siga os passos abaixo:
$ cd src/
$ python manage.py migrate
$ python manage.py runserver
De seguida abra o seu navegador e digite http://127.0.0.1:8000/
O url-shortener é um software de código aberto licenciado sob a licença MIT