Organizational Information Flow Improvement and Agility Companion system
This software aims to empower organization in the following matters:
- Improving information sharing and open communication
- Improving trust
- Continuous Improvement
- Agility
- Managing virtual teams
- Effective Knowledge Management
This web application is a django project, but relies on Vue.js and Axios for its UI especially for its partial refreshing and model binding.
- django
- django-jalali
- djangorestframework
Of course each of these packages have their own dependencies.
- Bootstrap 4
- JavaScript Cookie Library
- Vuejs 3
- Axios
- Git ( no kidding :D )
- Black (recommended code formatter)
- Pylama ( recommended code audit tool)
- Visual Studio Code
- Pipenv (required)
- Python 3.8
- Pip (for installing pipenv)
- Pyenv (recommended for switching between python versions)
There are currently no tests and no CI/CD pipeline.
- Clone the repository e.g. :
git clone https://github.com/ashkantaravati/sync-my-boss
- Get inside cloned project directory
cd sync-my-boss
- Given you have pipenv installed, use it like this to create a virtual environment and install dependencies:
pipenv install --dev
note: If you prefer to use virtualenv, having installed virtualenv using pip, enter the following command to create a virtual environment:
virtualenv env
- Then activate the virtual environment using the following command:
pipenv shell
Note: For virtualenv, use one of the following commands according to your terminal type:
source env/bin/activate # for bash/zsh/ etc.
env\Scripts\activate.ps1 # for powershell
env\Scripts\activate.bat # for Command Prompt
You can now install dependencies from the requirements.txt
file using pip.
pip install -r requirements.txt
- Now prepare the database using the commands below
python manage.py migrate # runs migrations, creating the database
python manage.py loaddata db.json # loads the seed data provided in db.json
python manage.py createsuperuser # if you want to create your own admin user
- Now you should be able to run the project and use the admin site.
python manage.py runserver
username: ashkan
password: 1234
This project is absolutely NOT production ready! In order to prepare this project for porduction, at least the following needs to be done:
- Write some essential tests
- Refactor Vue apps as components
- Install client-side technologies using npm or yarn instead of using CDN sources.
No Releases yet!
Pull Requests are welcome.
- Installing pipenv using pip
- Getting started with Django REST Framework
- JavaScript Cookie Library Documentation
- Introduction to Vue.js v3
- About Django Cross Site Request Forgery protection
- Axios README
- About Python virtual environments
-
Q: Why am I getting HTTP 403 58 response?
A: Are you sure sending CSRF token in your request header?