Skip to content
This repository has been archived by the owner on Mar 2, 2024. It is now read-only.

UnderGrounder96/twitter-django

Repository files navigation

Twitter_Django

Project created under Linux Ubuntu 64-bit using Python 3.8, pip 20.1.1 and Django 3.0.7

Twitter Django image

Deployment (baremetal)

Install python3.8 and execute the commands:

$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt

Before starting. Please rename the file .env.default to .env, and set in it your Secret credentials.
(Twitter_Django/ also has a .env.default file.)

Running the server:

$ python3 manage.py migrate
$ python3 manage.py createsuperuser
$ python3 manage.py test
$ python3 manage.py runserver

Open localhost:8000 in a browser.

Deployment (docker)

Install docker and docker-compose. Perform the changes mentioned above related to .env.default files.

Running the server:

$ docker-compose up -d
$ docker logs twitter-django -tf # logging

Open localhost:PORT in a browser. Where PORT is the port set in root project .env file.

Versioning

Version 1.5 - Current version
Version 5.0 (TBA) - Moderation algorithms

Author

Lucio Afonso

License

This project is licensed under the GPL License - see the LICENSE.md file for details

Acknowledgments

Tutorials:

Acumenus
Corey Schafer
The Dumbfounds

About

Twitter like social media created under Linux Ubuntu 64-bit using Python 3.8, pip 20.1.1 and Django 3.0.7

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published