Skip to content

A django application for sharing code snippets.

License

Notifications You must be signed in to change notification settings

Bpitorg/CodeShare

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeShare

A django application for sharing code snippets.

Installation

  • Create a virtual environment

    virtualenv venv

  • Start virtual environment

    source venv/bin/activate

  • Install requirements

    pip install -r requirements

  • Enable Debug for debugging

    Go to the settings.py file and set the variable DEBUG to True.

  • Migrate DB

    python manage.py makemigrations and python manage.py migrate

  • Running test server, go to the folder with manage.py file and run:

    python manage.py runserver

    This will run the server at localhost.

Contributing

Contribution are welcome as always. Checkout the existing issues or create issues.

Steps for contributing:

  • Fork and clone the repository

  • If resolving an issue then create a branch with name like bugfix-#<issue_number> or enhancement-#<issue_number>

  • After commiting, push the branch to your upstream fork.

  • Create a Pull request to this repository

CodeShare API

##GET ###By id domain/api/id.json ###by filename domain/api/filename.json

##POST see json format at CodeShare ###new code file domain/api ###update existing file domain/api/filename or id

####Every Post request will give the new object made or updated ,in response

About

A django application for sharing code snippets.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 45.3%
  • CSS 36.7%
  • HTML 14.1%
  • JavaScript 3.7%
  • Shell 0.2%