Used Languages: Python, Javascript, SCSS (Stylesheet Language)
Used Frameworks and Libraries: Django, Django Rest Framework, React, MaterialUI
- Create base dir for project
> mkdir projectbase
> cd projectbase
- Create a virtual environment and activate it
> py -m venv projectenv
> projectenv\Scripts\activate
- Clone this repository
> git clone https://github.com/cavadsalman/azedrive.git
> cd azedrive
- Change the default database configurations from settings.py based on your own
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'azedrive_db',
'USER': 'yourusername',
'PASSWORD': 'yourpassword',
'HOST': 'localhost',
'PORT': '5432',
},
- Create a database in PostgreSQL. By the way the database choosing is up to you, you can create database on any SQL database which is supported by Django
> psql -U postgres -h localhost
> CREATE DATABASE azedrive_db;
> \q
- Install the required libraries, migrate the main and secondary databases (for save login logs) and run server
> pip install -r requirements.txt
> py manage.py makemigrations
> py manage.py migrate
> py manage.py migrate --database=logdb
> py manage.py runserver
- Backend completed! Now open a new CMD and change the directory to frontend folder. Afterwards install all required node modules
> cd frontend
> npm install
> npm start
- Everything finished 🎉. Now you can open app on 👉 http://localhost:3000/