Coder Social home page Coder Social logo

urlreduce's Introduction

URLReduce

Sobre   |   Funcionalidades   |   Tecnologias   |   Pré-requisitos   |   Começando


Página inicial Página de relatório


🎯 Sobre

Site para encurtar URLs longas.

✨ Funcionalidades

✔️ Encurta URLs longas, tornando-as mais fáceis de lembrar
✔️ Relatório com a contagem total de acessos do link encurtado

🚀 Tecnologias

As seguintes ferramentas foram utilizadas na construção do projeto:

✅ Pré-requisitos

Antes de começar, você precisa ter o Python instalado em sua máquina.

🏁 Começando

1° - Clone o repositório e entre na pasta do projeto:

# Clone este repositório
$ git clone https://github.com/raphael-araujo/URLReduce

# Entre na pasta
$ cd URLReduce

2° - Crie e ative um ambiente virtual:

# Para criar:
  # Linux
      $ python3 -m venv venv
  # Windows
      $ python -m venv venv

# Para ativar:
  # Linux
      $ source venv/bin/activate
  # Windows
      $ venv/Scripts/Activate

# Caso algum comando retorne um erro de permissão, execute o código abaixo e tente novamente:

  $ Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned

3° - Instale as dependências:

# Linux
    $ pip3 install -r requirements.txt
# Windows
    $ pip install -r requirements.txt

4° - Faça as migrações:

# Linux
    $ python3 manage.py migrate
# Windows
    $ python manage.py migrate

5° - Crie um super usuário:

# Linux
    $ python3 manage.py createsuperuser
# Windows
    $ python manage.py createsuperuser

6° - Inicie a aplicação:

# Para iniciar o projeto
  # Linux
      $ python3 manage.py runserver
  # Windows
      $ python manage.py runserver

# O app será iniciado em <http://127.0.0.1:8000/>

# Para iniciar o projeto em uma porta especifica
    $ python manage.py runserver <porta>

# O app vai inicializar em <http://127.0.0.1:<porta>/>

 

Voltar para o topo

urlreduce's People

Contributors

raphael-araujo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.