{"repo":"codingforentrepreneurs/SaaS-Foundations","free":true,"listed":false,"github":"https://github.com/codingforentrepreneurs/SaaS-Foundations","clone":"git clone https://github.com/codingforentrepreneurs/SaaS-Foundations.git","description":"Django tutorial integrating TailwindCSS, Postgres, Stripe API, User auth, deployment, & more.","language":"HTML","stars":352,"topics":["deployment","django","flowbite","neon","postgres","tailwindcss"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"SaaS Foundations Build the foundations for a Software as a Service business by leveraging Django, Tailwind, htmx, Neon Postgres, Redis, and more. The goal of this project is to learn how to create a reusable foundation for building SaaS products. When release, this course will span multiple topics and give you a solid foundation into build your business. References - Deploy Django on Railway with this Dockerfile and guide - Create a One-Off Secret Key for Django blog post - This repo started as a course SaaS Foundations. - Need a more advanced SaaS template? Check out CFE Run. Getting Started Clone Create Virtual Environment macOS/Linux Windows Install Requirements with Rav Rav is a simple way to run commands and download static files (css, images, js, etc) from external sources. Use python -m rav run install if for some reason rav is not in your path. Sample dotenv to dotnev Values include: - DJANGO DEBUG=1 - DJANGO SECRET KEY=\"\" - DATABASE URL=\"\" - EMAIL HOST=\"smtp.gmail.com\" - EMAIL PORT=\"587\" - EMAIL USE TLS=True - EMAIL USE SSL=False - EMAIL HOST USER=\"\" - EMAIL HOST PASSWORD=\"\" - ADMIN USER EMAIL=\"\" - STRIPE SECRET KEY=\"\" Create the DJANGO SECRET KEY or or Once you have this value, add update DJANGO SECRET KEY in .env . Run Migrations Create a Superuser Pull Vendor Static Files Create a Stripe Account 1. Sign up on Stripe.com for an account 2. Get or create a Stripe Secret API Key (Dashboard Developers API keys Secret key ) 3. Update dotenv ( .env ) with the value STRIP","default_branch":null,"files":null,"tree":[],"storefront":"/r/codingforentrepreneurs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/codingforentrepreneurs/SaaS-Foundations/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}