Author: Kiptoo Rotich
This a hospital website that shows details about FreMo Medical and Birth Centre with FreMo School included.
- 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.
- python3.9
- virtual environment
- pip
- postgresql
git clone `https://github.com/kiptoo-rotich/FreMo`
git init
git remote add origin <your-repository-url>
python3.9 -m virtualenv virtual
source virtual/bin/activate
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 that will create an environment for the app to run
pip install -r requirements.txt
python3.9 manage.py check
python3.9 manage.py makemigrations web
python3.9 manage.py migrate web 0001
python3.9 manage.py migrate
python3.9 manage.py runserver
Open localhost:8000
python manage.py test projects
- Python3.9
- Django==3.2.5
- Postgresql
- Boostrap
- HTML
- CSS