Git Product home page Git Product logo

doctors's Introduction

** This project is no longer maintained **

Doctors Web Application

This is a web application for managing medical pre-operation and post-operation for patients and cases. Doctors login, create patient and case profiles. The application allows managing medical cases and the different users of the aplication (admin, simple user, manager). This application uses Symfony version 2.5 and AJAX for an enhanced user experience.

This software is perfectly suited for cosmetic surgons,dermatologists, and hospitals who need to share or train doctors or students.

  1. Demo

https://www.youtube.com/watch?v=_x2wfyudZqI

  1. Installation

Download the application

clone this repository into your working directory

git clone https://github.com/benaich/Doctors.git

Before starting, make sure that your local system is properly configured for Symfony.

Execute the check.php script from the command line:

php app/check.php

The script returns a status code of 0 if all mandatory requirements are met, 1 otherwise.

Access the config.php script from a browser:

http://localhost/path-to-project/web/config.php

If you get any warnings or recommendations, fix them before moving on.

Install Composer

If you don't have Composer yet, download it following the instructions on http://getcomposer.org/ or just run the following command:

curl -s http://getcomposer.org/installer | php

Install the dependencies

After you download composer, run the following command:

php composer.phar install

Import the database

You'd need to import this sql source file to your DBMS

https://github.com/benaich/Doctors/blob/master/app/Resources/database.sql

Run the server

php app/console server:run

Enjoy!

doctors's People

Contributors

benaich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

doctors's Issues

No bootsrtap.php.cache file

Each time i tryy to run the app it says "Fatal error: require_once(): Failed opening required 'C:\wamp\www\Doctors-master\app/bootstrap.php' (include_path='.;C:\php\pear') in C:\wamp\www\Doctors-master\app\console on line 10"

Now cant enjoy it

Any solutions please

Database issue

Duplicate entries in database. Not able to upload the sql

erreur : Warning: Erroneous data format for unserializing 'Ben\UserBundle\Entity\User'

Hi benaich,
Congratulations for this app. It's been very helpful for me on my early beginnings with symfony.
After having downloaded the master and having done all the read me file recommendations i had the following issue on doctrine:

erreur : Warning: Erroneous data format for unserializing 'Ben\UserBundle\Entity\User' in C:\wamp64\www\doctors\vendor\doctrine\orm\lib\Doctrine\ORM\Mapping\ClassMetadataInfo.php line 872

I read this post DDC-3120: Warning: from @doctrinebot and chancging doctrine line to this:

"doctrine/orm": "~2.4.6,>=2.2.3,<2.5",

I went to the ClassMetadataInfo.php and changed the following lines starting at 866 line:

public function newInstance()
    {
        if ($this->_prototype === null) {
            if (PHP_VERSION_ID === 50429 || PHP_VERSION_ID === 50513) {
                $this->_prototype = $this->reflClass->newInstanceWithoutConstructor();
            } else {
                $this->_prototype = unserialize(sprintf('O:%d:"%s":0:{}', strlen($this->name), $this->name));
            }
        }
        return clone $this->_prototype;
    }

to this

public function newInstance()
    {
        if ($this->_prototype === null) {
           if (PHP_VERSION_ID >= 50513 || PHP_VERSION_ID === 50429 || PHP_VERSION_ID === 50513) {
                $this->_prototype = $this->reflClass->newInstanceWithoutConstructor();
            } else {
                $this->_prototype = unserialize(sprintf('O:%d:"%s":0:{}', strlen($this->name), $this->name));
            }
        }
        return clone $this->_prototype;
    }

and it worked. So i think it is a good addition to this repo.

I hope this helps other.

Regards from Cuba.

Error after clearing cache

Hi Benaich,

I'm getting this error

FatalErrorException: Compile Error: appDevDebugProjectContainer::getDoctrine_Orm_DefaultEntityManagerService(): Failed opening required 'C:/Dropbox/Apache Xampp/Doctors/app/cache/dev/jms_diextra/doctrine/EntityManager_56bbab0d43a31.php' (include_path='.;C:\xampp\php\PEAR') in C:\Dropbox\Apache Xampp\recepcion_pago\app\cache\dev\appDevDebugProjectContainer.php line 769

after clearing cache with this command

php app/console cache:clear

Im doing this because I want to change the db connection but after changing parameters.yml symfony is not recognizing my changes so I trying to clear cache in order to connect to the new databse.

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.