J
J
JohnHughes2021-01-17 13:47:08
Information Security
JohnHughes, 2021-01-17 13:47:08

Saleor. The SECRET_KEY how to set the settings?

I'm trying to install Saleor (instruction here: https://docs.getsaleor.com/docs/getting-started/in ...
Everything is fine, except that I can't generate SECRET_KEY in any way...
The instruction says:
Set SECRET_KEY environment variable
We try to provide usable default values ​​for all of the settings. We've decided not to provide a default for SECRET_KEY as we fear someone would inevitably ship a project with the default value left in

code

. ---------
Generated a secret key on the site https://miniwebtool.com/django-secret-key-generator/
go cd saleor
I write set SECRET_KEY="[email protected]!08(w([email protected]&+j +pwkoba"
No errors appear.
I check: echo $SECRET_KEY
And it comes out: $SECRET_KEY
What am I doing wrong.
Please tell me in what order to do first.
I did as in the docks
git clone https://github.com/mirumee/saleor.git

cd saleor/

python -m pip install -r requirements.txt

$env:SECRET_KEY = ""
.....
Prompt solution

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2021-01-17
@bacon

# установить
export SECRET_KEY="[email protected]!08(w([email protected]&+j+pwkoba"
# вывести
echo $SECRET_KEY

But consider this only for the current session

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question