NOTE: Sinapis is Latin for Mustard (as in the kingdom growing from the faith of a mustard seed)
Welcome to the Christian content Sharing Platform! This is a personal project inspired by daily.dev where users can share Christian prayers, meditation, videos, and blog posts. Users can also comment and upvote content. This personal project has been in development off and on for a few months and is built using the following tech stack:
- Backend: Django
- Frontend: HTMX & Alpine.js for a Single Page Application (SPA) feel
- Styling: Tailwind CSS via django-tailwind along with daisy-ui components
- Caching: Memcache
- Database: PostgreSQL
- Share Christian prayers, meditation, videos, and blog posts
- Comment on and upvote shared content
- User authentication and profile management
Follow these instructions to set up the project locally on your machine.
Make sure you have the following installed:
- Python 3.x
- PostgreSQL
- Memcached
-
Clone the repository:
git clone https://github.com/BuckinghamAJ/sinapis.git cd sinapis
-
Create and activate a virtual environment:
python3 -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install the required Python packages:
pip install -r requirements.txt
-
Set up the PostgreSQL database:
- Create a new PostgreSQL database and user.
- Update the
DATABASES
setting insettings.py
with your database credentials.
-
Run database migrations:
python manage.py makemigrations python manage.py migrate
-
Set up Memcached:
- Ensure Memcached is installed and running on your machine.
- Update the
CACHES
setting insettings.py
if necessary.
-
Set up Tailwind CSS:
-
Initialize Tailwind:
python manage.py tailwind init
-
Install Tailwind:
python manage.py tailwind install
-
-
Create a superuser:
python manage.py createsuperuser
-
Run Tailwind CSS:
python manage.py tailwind start
-
Run the development server:
In another terminal window, run:
python manage.py runserver
-
Access the application:
Open your web browser and go to
http://127.0.0.1:8000
.
If you would like to contribute to this project, please fork the repository and create a pull request with your changes. Contributions are welcome!
This project is licensed under the MIT License. See the LICENSE file for details.
If you have any questions or suggestions, feel free to reach out to me at [email protected].