Skip to content

Latest commit

 

History

History
73 lines (61 loc) · 1.92 KB

README.md

File metadata and controls

73 lines (61 loc) · 1.92 KB

ZED

A minimal clone of X (Twitter) with most of the features of the original service.

Screenshots

Click here for viewing the application screenshots!

Installation

  • First of all clone the project:
git clone https://github.com/EngRobot33/ZED.git
  • Then, we need a virtual environment you can create like this:
virtualenv venv
  • Activate it with the command below:
source venv/bin/activate
  • After that, you must install all the packages in requirements.txt file in project directory:
pip install -r requirements.txt
  • Create a .env file in root directory and add your created config like .env.sample:
SECRET_KEY = 'Your secret key generated by https://djecrety.ir'
DEBUG = 'Project debug status'
ALLOWED_HOSTS = 'Host/Domain names list that this site can serve for e.g ['*'] allows all hosts'
  • After that, migration:
python3 manage.py migrate
  • Then make sure that Redis is actually running on your machine:
redis-server
  • Now you should install all the packages in package.json file. Just make sure npm is installed:
npm install
  • That's finished! Now you can run the project:
python3 manage.py runserver

Run with docker

git clone https://github.com/EngRobot33/ZED.git
  • Create a .env file in root directory and add your created config like .env.sample:
SECRET_KEY = 'Your secret key generated by https://djecrety.ir'
DEBUG = 'Project debug status'
ALLOWED_HOSTS = 'Host/Domain names list that this site can serve for e.g ['*'] allows all hosts'
  • That's finished! Now you can run the project:
docker compose up -d 

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.