Skip to content

fardinanam/SyncInc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

283 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SyncInc.

Backend Setup

  • go to the backend directory

      cd Back-end
  • From /Syncinc folder, copy the .env.example file and rename it to .env

  • Fill in the required fields in the .env file

    • For using sqlite3, set the following environment variables as follows:
      SERVER=LOCAL
      LOCAL_DATABASE_ENGINE="django.db.backends.sqlite3"
      LOCAL_DATABASE_NAME="db.sqlite3"
  • Use venv or conda to create a virtual environment. For venv, run the following commands:

      python -m venv env
      source env/bin/activate
  • install dependencies in the virtual environment

      pip install --upgrade pip
      pip install -r requirements.txt

Warning

If you face any problem installing psycopg2, remove it from the requirements.txt file and install psycopg2-binary manually instead.

  • Migrate the database

        python manage.py makemigrations accounts
        python manage.py makemigrations project_api
        python manage.py migrate accounts
        python manage.py migrate project_api
        python manage.py migrate
  • run the server

      python manage.py runserver

React Setup

  • go to the project directory
      cd Front-end/syncinc
  • install dependencies
      npm install
  • run the server
      npm start

About

Web based software to manage and track projects and tasks of an organization.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors