mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
fix: remove env_file field but subsistute from shell
This commit is contained in:
1 parent
aac1592957
commit
a79b66ed8d
5 files changed
+23
-4
No files matched your search
@@ -19,6 +19,10 @@ Run everything (frontend, backend, db, swagger, quests):
|
||||
docker compose build
|
||||
docker compose up -d
|
||||
|
||||
If you want to enable social login, you should have OAuth client token in a `.env` file:
|
||||
|
||||
docker compose --env-file .env up -d
|
||||
|
||||
## Testing
|
||||
|
||||
Run Cypress locally, using the current development containers:
|
||||
@@ -42,6 +46,17 @@ Run Cypress in container, create brand-new containers along with it:
|
||||
docker compose -f docker-compose.prod.yml pull
|
||||
docker compose -f docker-compose.prod.yml up -d
|
||||
|
||||
To enable social login, you should have OAuth client token in a `.env` file:
|
||||
You can copy from `example.env`
|
||||
|
||||
# .env
|
||||
GOOGLE_CLIENT_ID=...
|
||||
GOOGLE_CLIENT_SECRET=...
|
||||
|
||||
To enable it:
|
||||
|
||||
docker compose --env-file .env -f docker-compose.prod.yml up -d
|
||||
|
||||
## Standalone App (without Docker)
|
||||
|
||||
Source: `app/`
|
||||
|
||||
Reference in new issue
Block a user