Skip to content

Geekshub is a Website which allows users, who sign-up for free profiles, to connect with friends, work colleagues or people they don't know, online. It allows users to share pictures, posts, and articles, as well as their own thoughts and opinions with however many people they like.

License

Notifications You must be signed in to change notification settings

sherif-abdallah/Geekshub

Repository files navigation

Geekshub

Geekshub is a Website which allows users, who sign-up for free profiles, to connect with friends, work colleagues or people they don't know, online. It allows users to share pictures, posts, and articles, as well as their own thoughts and opinions with however many people they like.

Table of Content

Tools

  1. Python
  2. Django (allauth, jazzmin)
  3. Mysql Client
  4. JavaScript
  5. Jquery
  6. Ajax
  7. Bootstrap
  8. Goormide Cloud

How to run

  • Enter the directory where the script is located then type the following to the console
$ git clone https://github.com/sherif-abdallah/Geekshub Geekshub
  • Install Python 3.8 venv, pip and compiler
$ sudo apt-get install python3.8 python3.8-venv python3-venv
  • Create a virtual environment to install dependencies in and activate it:
$ python3.8 -m venv venv
$ source venv/bin/activate
  • Then install the dependencies:
(venv)$ cd Geekshub
(venv)$ python -m pip install --upgrade pip
(venv)$ python -m pip install -r requirements.txt

Note the (venv) in front of the prompt. This indicates that this terminal session operates in a virtual environment set up by virtualenv.

Once pip has finished downloading the dependencies:
Go the .env file and Change DEBUG = True PRODUCTION = False

  • then you will have to migrate the db
(venv)$ python manage.py migrate --run-syncdb
  • Collect all the static files your are using in all the apps even the third party apps you installed by pip
(venv)$ python manage.py collectstatic
  • Finally run The Geekshub Server
(venv)$ python manage.py runserver
  • And navigate to http://127.0.0.1:8000.

Author

Sherif Abdullah

About

Geekshub is a Website which allows users, who sign-up for free profiles, to connect with friends, work colleagues or people they don't know, online. It allows users to share pictures, posts, and articles, as well as their own thoughts and opinions with however many people they like.

Topics

Resources

License

Stars

Watchers

Forks