Skip to content

toado/calendar.med

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

calendar.med

codecov Build & Test Project

http://[2605:fd00:4:1001:f816:3eff:fe83:5737]/ admin calendar view

Prerequisites

  • docker
  • docker-compose
  • mysql 5.7
  • yarn

Installation

  1. Clone the repository
  2. Create a local MySQL database
  3. Copy and customize environment variables to match local database
    $ cd learning-sciences/app
    $ cp .env.template .env
  4. Run yarn install (if this is your first build or new packages are added)
    $ cd learning-sciences/app/frontend
    $ yarn install
  5. Run docker-compose
    $ docker-compose up --build
  6. Migrate & seed the database
    $ docker-compose run backend python manage.py migrate
    $ docker-compose run backend python manage.py loaddata all-data
  7. Navigate to localhost:8000 in your browser. It should say 'The install worked successfully! Congratulations!'
  8. Navigate to localhost:3000 in your browser. You should see a React logo

Testing

Front-end React tests

$ docker-compose run frontend yarn test

Back-end Django tests

$ docker-compose run backend python manage.py test

Creating a Pull Request

Make sure all the following pass without errors:

$ docker-compose run frontend yarn test
$ docker-compose run backend python manage.py test
$ docker-compose run backend pycodestyle .

About

Calendar system at the request of the Faculty of Medicine & Dentistry at my local university.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors