EmadGKamel / Pastebin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pastebin

A Web project help you share codes and notes with your friends

Made with ❤ by Python with Django

language Platform

Table of Contents

Summary

Pastebin is a clone of the original Pastebin that include the following features:

  • A hosted web version on IBM CLoud at pastbin
  • An API to CRUD the snippets, users and groups

Installation

This project tested with Python 3.7, Django 2.2, and Pipenv and it's highly recommend to use Pipenv over pip

Steps

  1. Open the terminal or CMD and paste the following commands:
    git clone https://github.com/
    cd Pastebin
  2. After checking Python version, use one of the following methods to install the depends:
    1. For Pipenv use the following command
      pipenv install
      pipenv shell   # to run the virual environment
    2. For pip use the following command
      pip install -r requirements.txt
  3. Now run these two commands to make a sqlite db instanse
    python manage.py makemigrations --settings=Pastebin.settings.development
    python manage.py migrate --settings=Pastebin.settings.development
  4. You're ready to bring up your local server
    python manage.py runserver --settings=Pastebin.settings.development
    Your application is running at: http://localhost:8000/ in your browser.

Example

About

License:MIT License


Languages

Language:JavaScript 43.7%Language:CSS 40.9%Language:Python 8.0%Language:Shell 3.6%Language:HTML 3.6%Language:Dockerfile 0.2%