Skip to content

Running fief from shell/virtualenv (not in docker) #290

Answered by frankie567
yaroslaff asked this question in Q&A
Discussion options

You must be logged in to vote

In development, you have to run the following command to create the main tables:

hatch run python -m fief.cli migrate

Then, you probably want to create the main workspace. You can do it like this:

hatch run python -m fief.cli workspaces create-main
hatch run python -m fief.cli workspaces create-main-user --user-email [email protected] --user-password herminetincture

For reference, this is what we do in the initalization script of the GitHub Codespace: https://github.com/fief-dev/fief/blob/main/.devcontainer/post-create.sh

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@yaroslaff
Comment options

@frankie567
Comment options

Answer selected by yaroslaff
Comment options

You must be logged in to vote
1 reply
@frankie567
Comment options

Comment options

You must be logged in to vote
1 reply
@frankie567
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants