Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
walosha committed May 5, 2023
1 parent eee4df1 commit efd1517
Showing 1 changed file with 34 additions and 42 deletions.
76 changes: 34 additions & 42 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,51 +1,43 @@
# Church management app

`

- Clone this repository
- docker-compose --build && docker compose up
- source ./venv/bin/activate
- pip install -r requirements.txt
- python manage.py makemigrations
- python manage.py migrate
- python manage.py runserver --settings=core.settings.local ( Development )
- python manage.py runserver --settings=core.settings.prod ( Production )

`
@@ Access swagger documentation on : api/doc/#/

`
docker-compose exec web python /code/church/manage.py migrate
docker-compose exec web python /code/church/manage.py collectstatic
or
python manage.py collectstatic --settings=core.settings.local
python manage.py check --settings=core.settings.prod (church directory)

python manage.py check --deploy --settings=church.settings.prod ( check for deploy issues)

// Generate SSL Cert

openssl req -x509 -newkey rsa:2048 -sha256 -days 3650 -nodes \
-keyout ssl/church.key -out ssl/church.crt \
-subj '/CN=_.church.com' \
-addext 'subjectAltName=DNS:_.church.com'

//reload NGNIX
docker-compose exec nginx nginx -s reload

`

## Features (Content Mgt System)
# Church Management App

This is a Church Management App that provides a variety of features for managing a church's activities, members, events, and content. The app includes an attendance system, blog, podcast, polls and surveys, pledges, offering and donation, prayer requests, contacts, and scheduling meetings, among other things.

Installation
- To install and run this app, follow the steps below:

- Clone this repository using git clone https://github.com/walosha/church_be.git.
- Run docker-compose --build && docker compose up to build and start the Docker containers.
- Activate the virtual environment using source ./venv/bin/activate.
- Install the required packages using pip install -r requirements.txt.
- Run python manage.py makemigrations to create the database migrations.
- Run python manage.py migrate to apply the database migrations.
- Run the app in development mode using python manage.py runserver --settings=core.settings.local, or in production mode using python manage.py runserver --settings=core.settings.prod.
- Access Swagger documentation on api/doc/#/.
Y- ou can also run the following commands:

```text
docker-compose exec web python /code/church/manage.py migrate: Migrate the database.
docker-compose exec web python /code/church/manage.py collectstatic or python manage.py collectstatic --settings=core.settings.local: Collect static files.
python manage.py check --settings=core.settings.prod (church directory): Check for deploy issues.
python manage.py check --deploy --settings=church.settings.prod: Check for deploy issues.
openssl req -x509 -newkey rsa:2048 -sha256 -days 3650 -nodes -keyout ssl/church.key -out ssl/church.crt -subj '/CN=_.church.com' -addext 'subjectAltName=DNS:_.church.com': Generate SSL cert.
docker-compose exec nginx nginx -s reload: Reload NGINX.
```
## Features
This Church Management App has several features, including:

- User management (roles/permissions) / Members directory / Groups
- Events (meetings, events and programs) for activities Callender
- Attendance system for events
- Blog (post & comments )
- Blog (post & comments)
- Podcast (Video and audio for sermons)
- Polls and Surveys
- pleadges, offering and donation
- Prayer Request ,Contact
- schedule meetings
- Pledges, offering and donation
- Prayer request, Contact
- Schedule meetings
- Email
- Live streeming
- Live streaming
- e-bible

Thank you for using our Church Management App!

0 comments on commit efd1517

Please sign in to comment.