- Install docker follow this.
- Run
cp .env.example .env
to copy from.env.example
to.env
. - Create Server Gmail and update
MAIL_USERNAME
,MAIL_PASSWORD
,MAIL_FROM
. - Create Google OAuth 2.0 and update
GOOGLE_CLIENT_ID
,GOOGLE_PROJECT_ID
,GOOGLE_REDIRECT
,GOOGLE_CLIENT_SECRET
,GOOGLE_REDIRECT_URI
,GOOGLE_JAVASCRIPT_ORIGIN
. - Create AWS S3 and update
AWS_ACCESS_KEY_ID
,AWS_SECRET_ACCESS_KEY
,AWS_DEFAULT_REGION
,AWS_BUCKET_NAME
. - Run
docker compose up -d
. - Run
docker ps -a
to list running containers - Run
docker exec -it tvnow-api sh
to access docker container api shell.- In container shell, run
alembic revision --autogenerate -m "Initial migration"
. - In container shell, run
alembic upgrade head
.
- In container shell, run
-
Notifications
You must be signed in to change notification settings - Fork 0
tung2212002/BE_TimViecNow
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description or website provided.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published