A Web project help you share codes and notes with your friends
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
This project tested with Python 3.7, Django 2.2, and Pipenv and it's highly recommend to use Pipenv over pip
- Open the terminal or CMD and paste the following commands:
git clone https://github.com/ cd Pastebin
- After checking Python version, use one of the following methods to install the depends:
- For Pipenv use the following command
pipenv install pipenv shell # to run the virual environment
- For pip use the following command
pip install -r requirements.txt
- For Pipenv use the following command
- 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
- You're ready to bring up your local server
Your application is running at:
python manage.py runserver --settings=Pastebin.settings.development
http://localhost:8000/
in your browser.