JiX web application is a web forum for finding friends and people who have mutually-interested events. The activities are categorized into categories including Hangout, Meeting, Study, Entertainment, Travel, etc. Users can select the interesting category of activity on the Explore page. Moreover, they can find or post about any activity or event on the Feed page. The feed and explore page is visible to everyone on the internet (doesn’t have to log in), but web visitors have to login before post and participate in any event. The intended users are various from teenagers to working adults.
Name | Required version(s) |
---|---|
Python | 3.7 or higher |
Django | 3.1 or higher |
-
Clone this repository to your computer.
git clone https://github.com/jix-666/jix.git
-
Change directory to the repository.
cd jix
-
Install virtualenv to your computer.
pip install virtualenv
-
Create virtual environment.
virtualenv jix_env
-
Activate virtualenv by using this command.
for Mac OS / Linux
source jix_env/bin/activate
for Windows
jix_env\Scripts\activate
-
Run this command to install all require packages.
pip install -r requirements.txt
-
Create .env file inside jix (same level as settings.py) and added:
DEBUG=True
-
Run this command to migrate the database.
python manage.py migrate
-
Start running the server by this command.
python manage.py runserver
For MAC and OSX users may not be able to install psycopg2
Follow these steps
- Install brew by typing this on terminal
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)
- Install postgreSQL and openssl using homebrew
brew install postgresql brew install openssl
- export these variable in terminal
export LDFLAGS="-L/usr/local/opt/openssl/lib" export CPPFLAGS="-I/usr/local/opt/openssl/include"
- install psycopg2
or
pip3 install psycopg2
sudo pip3 install psycopg2