Code Monkey home page Code Monkey logo

diana-server's Introduction

Diana - A Task Assistant

Diana aims to help you live a better day by tracking your tasks and helps you have better habits.

Contribution

All contributions are very welcomed!

Prerequisites

  1. Docker

How to get up and running

  1. OPTIONALLY You can run pipenv install --dev in diana-server/app to install all python dependencies needed in this project so you can get autocompletion in your IDE -- Requires python and pipenv
  2. create .env file in the root directory to hold the environment variables, some of environment variables are
    1. SECRET_KEY=use_secret_key
    2. POSTGRES_DB=choose_any
    3. POSTGRES_USER=choose_any
    4. POSTGRES_PASSWORD=choose_ay
    5. EMAIL_HOST_USER=needed_in_reset_password
    6. EMAIL_HOST_PASSWORD=needed_in_reset_password
  3. in the root directory run docker-compose -f docker-compose.yml -f docker-compose.dev.yml up
  4. Then run docker exec -it diana-server_web_1 bash
  5. In the sub-shell run
    1. python manage.py collectstatic
    2. python manage.py migrate
    3. python manage.py createsuperuser follow the instruction to create a new superuser

Database

This is the way that our database is designed

Diana db

Other links

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.