Git Product home page Git Product logo

tweetme's Introduction

Sample Tweeter

This is a twitter-like app using Django, Python, HTML, CSS, Bootstrap and etc!

Cloning the repositories

You can clone or pull the repository:

git clone https://github.com/iamsahar/tweetme.git

Developing locally

Prerequisites

You'll need Python 3:

# On Linux, via apt:
sudo apt-get update
sudo apt-get install python3-pip

# On Mac, via Homebrew:
brew install python@<python_version>

This app uses the default Django database (sqlite3) so you don't need install anything for DB.

Python environment

In order to keep the development process tidy, you should use a virtual environment when installing application-specific packages. There are multiple ways to set up virtual environments (e.g. using Pipenv), but the example below shows how you can do this using the native tools:

cd tweetme
python3 -m venv venv

To activate and deactivate the virtual environment you just need to run the following commands:

source venv/bin/activate
deactivate

NOTE: Never commit your virtual environment to git, as this adds a lot of uneccesary files.

tweetme's People

Contributors

iamsahar avatar

Watchers

James Cloos avatar  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.