kevin-struckhoff commented on issue #16096:
URL: https://github.com/apache/superset/issues/16096#issuecomment-893971469
Ok good to know.I've never used docker or venv for that matter. I'd prefer
not to have to use either since the superset server only has 1 purpose.
I've attached my CentOS 8 install process document if you'd like to review
it. The missing part from the docs was the need to install the
postgresql13-devel package, and that must be done before installing psycopg2.
Perhaps a future release will not need the postgresqlXX-devel package
dependency.
Thanks for your help. Kevin
PS, I think think I'll like this app more than I liked Tableau.
On Thursday, August 5, 2021, 5:59:26 PM PDT, ʈᵃᵢ ***@***.***> wrote:
Hmm, yea it's wrong. It only comes out of the box when using docker-compose
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
# CentOS 8 server
# dependencies 1st
yum install gcc gcc-c++
yum install mlocate
updatedb # for mlocate to work!
# at a minimum, the shared object file /usr/pgsql-13/lib/libpq.so.5 is
needed at runtime
yum install postresql13-devel
yum install libffi-devel python38-devel python38-pip python38-wheel
openssl-devel cyrus-sasl-devel openldap-devel
# finish setup for Postgres
pip3.8 install psycopg2
# open port 8089 (since the doc'd port of 8088 is "reserved" for ragan-http
services, 8089 is not reserved as of 8/5/2021,
# per
iana.org/assigments//service-names-port-numbers/service-names-port-numbers.xhtml?search=8089)
firewall-cmd --permanent --add-port=8089/tcp
firewall-cmd --reload
# install a virtual environment
pip3.8 install virtualenv
. venv/bin/activate
# install superset finally
pip3.8 install apache-superset
# upgrade the db
superset db upgrade
# set an env variable
export FLASK_APP=superset
# create superset admin user credentials
superset fab create-admin admin/admin
# Load some data to play with
superset load_examples
# Create default roles and permissions
superset init
# this works
superset run -h 192.168.42.130 -p 8089 --with-threads --reload --debugger
# for subsequent starts, these 3 commands are needed
. venv/bin/activate
export FLASK_APP=superset
superset run -h 192.168.42.130 -p 8089 --with-threads --reload --debugger
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]