From 62face237e576172b56c34e2b301c4073170b024 Mon Sep 17 00:00:00 2001 From: Chedli Ben Yaghlane Date: Mon, 20 Jan 2025 13:50:20 +0000 Subject: [PATCH] GITBOOK-128: Update Hexabot NGNIX setup guide --- docs/SUMMARY.md | 2 +- ...md => how-can-i-deploy-my-hexabot-using-nginx.md} | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) rename docs/faq/{how-can-i-deploy-my-hexabot-project.md => how-can-i-deploy-my-hexabot-using-nginx.md} (93%) diff --git a/docs/SUMMARY.md b/docs/SUMMARY.md index 33e8bafb..37e1114f 100644 --- a/docs/SUMMARY.md +++ b/docs/SUMMARY.md @@ -54,7 +54,7 @@ ## FAQ -* [How can I deploy my Hexabot Project?](faq/how-can-i-deploy-my-hexabot-project.md) +* [How can I deploy my Hexabot using NGINX ?](faq/how-can-i-deploy-my-hexabot-using-nginx.md) * [How can I add the Chatbot Widget to my Website?](faq/how-can-i-add-the-chatbot-widget-to-my-website.md) ## Developer Guide diff --git a/docs/faq/how-can-i-deploy-my-hexabot-project.md b/docs/faq/how-can-i-deploy-my-hexabot-using-nginx.md similarity index 93% rename from docs/faq/how-can-i-deploy-my-hexabot-project.md rename to docs/faq/how-can-i-deploy-my-hexabot-using-nginx.md index a679b6ec..a880cad1 100644 --- a/docs/faq/how-can-i-deploy-my-hexabot-project.md +++ b/docs/faq/how-can-i-deploy-my-hexabot-using-nginx.md @@ -1,11 +1,11 @@ -# How can I deploy my Hexabot Project? +# How can I deploy my Hexabot using NGINX ? ### Introduction -This documentation explains how to deploy your Hexabot project using two different methods: +This documentation outlines two methods for deploying your Hexabot project in a production environment using NGINX and Let's Encrypt for SSL certificate : -1. [**Method 1: Using Nginx as a service and Certbot for SSL**](how-can-i-deploy-my-hexabot-project.md#method-1-using-nginx-as-a-service-and-certbot-for-ssl) -2. [**Method 2: Using Dockerized Nginx and Certbot services**](how-can-i-deploy-my-hexabot-project.md#method-2-using-dockerized-nginx-and-certbot-services) +1. [**Method 1: Using Nginx as a service and Certbot for SSL**](how-can-i-deploy-my-hexabot-using-nginx.md#method-1-using-nginx-as-a-service-and-certbot-for-ssl) +2. [**Method 2: Using Dockerized Nginx and Certbot services**](how-can-i-deploy-my-hexabot-using-nginx.md#method-2-using-dockerized-nginx-and-certbot-services) ### Pre-requisites @@ -76,6 +76,10 @@ To be able to send email you will need to configure SMTP. Learn how to configure #### Step 1: Run your Hexabot project in production mode: +{% hint style="info" %} +If you're starting with a fresh installation and not using a DB backup, it's recommended to run Hexabot in development mode the first time. This allows for automatic seeding of essential data into the DB. +{% endhint %} + ```bash hexabot start # Or include additional services you may want to use