You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2024/11/25 00:23:23 UTC

(superset) branch master updated: docs: updated the install process in pypi.mdx (#31044)

This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 078257dd1b docs: updated the install process in pypi.mdx (#31044)
078257dd1b is described below

commit 078257dd1bf350561294d261e383457090354f61
Author: Rida KEJJI <42...@users.noreply.github.com>
AuthorDate: Mon Nov 25 01:23:17 2024 +0100

    docs: updated the install process in pypi.mdx (#31044)
    
    Co-authored-by: Rida KEJJI <42...@users.noreply.github.com>
---
 docs/docs/installation/pypi.mdx | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/docs/docs/installation/pypi.mdx b/docs/docs/installation/pypi.mdx
index 1d39a95235..3e01986f5c 100644
--- a/docs/docs/installation/pypi.mdx
+++ b/docs/docs/installation/pypi.mdx
@@ -130,21 +130,22 @@ First, start by installing `apache-superset`:
 pip install apache-superset
 ```
 
+Then, define mandatory configurations, SECRET_KEY and FLASK_APP:
+```bash
+export SUPERSET_SECRET_KEY=YOUR-SECRET-KEY
+export FLASK_APP=superset
+```
+
 Then, you need to initialize the database:
 
 ```bash
 superset db upgrade
 ```
 
-:::tip
-Note that some configuration is mandatory for production instances of Superset. In particular, Superset will not start without a user-specified value of SECRET_KEY. Please see [Configuring Superset](/docs/configuration/configuring-superset).
-:::
-
 Finish installing by running through the following commands:
 
 ```bash
 # Create an admin user in your metadata database (use `admin` as username to be able to load the examples)
-export FLASK_APP=superset
 superset fab create-admin
 
 # Load some data to play with