Skip to content

Latest commit

 

History

34 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FreMo Medical and Birth Centre

Screenshot

Landing page

Screenshot from 2022-01-11 06-51-18

Book appointment

Screenshot from 2022-01-11 06-52-21

Payments

Screenshot from 2022-01-11 06-52-44

Description

This a hospital website that shows details about FreMo Medical and Birth Centre with FreMo School included.

Setup and installations

  • Clone Project to your machine
  • Activate a virtual environment on terminal: source virtual/bin/activate
  • Install all the requirements found in requirements file.
  • On your terminal run python3.9 manage.py runserver
  • Access the live site using the local host provided
  • Create your superuser account python manage.py createsuperuser inside virtual environment.

Getting started

Prerequisites

  • python3.9
  • virtual environment
  • pip
  • postgresql

Clone the Repo and rename it to suit your needs.

git clone `https://github.com/kiptoo-rotich/FreMo`

Initialize git and add the remote repository

git init
git remote add origin <your-repository-url>

Create and activate the virtual environment

python3.9 -m virtualenv virtual
source virtual/bin/activate

Setting up environment variables

Create a .env file and paste paste the following filling where appropriate:

SECRET_KEY = 'your secret key'
DEBUG=True
DB_NAME='<your database name>>'
DB_USER='<your username>'
DB_PASSWORD='<password to your database>'
DB_HOST='127.0.0.1'
MODE='dev'
ALLOWED_HOSTS='*'
DISABLE_COLLECTSTATIC=1

Install dependancies

Install dependancies that will create an environment for the app to run pip install -r requirements.txt

Make and run migrations

python3.9 manage.py check
python3.9 manage.py makemigrations web
python3.9 manage.py migrate web 0001
python3.9 manage.py migrate

Run the app

python3.9 manage.py runserver

Open localhost:8000

Testing the Application

python manage.py test projects

Built With

  • Python3.9
  • Django==3.2.5
  • Postgresql
  • Boostrap
  • HTML
  • CSS

License

  • LICENSED UNDER License: MIT

About

This a hospital website that shows details about FreMo Medical and Birth Centre with FreMo School included.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages