Skip to content

This is a project for my portfolio. I created it for fun. This is something like a microblogging system like Twitter.

Notifications You must be signed in to change notification settings

python-krasnodar/pytwitter

Repository files navigation

PyTwitter

This is a project for my portfolio. I created it for fun. This is something like a microblogging system like Twitter.

Up and Running

First, install the packages:

pip install -r requirements.txt

Note. Optionally, you can use virtualenv.

Next, you need to configure the local settings. For this you need to create a file local_setting.py. Here is an example of a file to override a database connection.

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql_psycopg2',
        'NAME': 'pytwitter',
        'USER': 'pytwitter',
        'PASSWORD': 'pytwitter',
        'HOST': 'localhost',
        'PORT': 5432,
    }
}

Now we can apply the database migration with this simple command

./manage.py migrate

Finally, start the local web server for development.

./manage.py runserver

About

This is a project for my portfolio. I created it for fun. This is something like a microblogging system like Twitter.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published