mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
testing 127.0.0.1 issue
Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
This commit is contained in:
@@ -81,7 +81,8 @@
|
||||
new_starr/
|
||||
├── server.js ← App entry point
|
||||
├── package.json
|
||||
├── .env.example ← Copy to .env and fill values
|
||||
├── .env-development ← Local dev template — copy to .env
|
||||
├── .env-production ← Self-hosted/Docker template — copy to .env
|
||||
│
|
||||
├── config/
|
||||
│ ├── db.config.js ← Sequelize PostgreSQL instance
|
||||
@@ -142,8 +143,9 @@ cd star-auth-system
|
||||
npm install
|
||||
|
||||
# 3. Configure environment
|
||||
cp .env.example .env
|
||||
cp .env-development .env
|
||||
# Edit .env with your DB, SMTP, Google OAuth, and JWT credentials
|
||||
# (For a production/self-hosted deploy, use .env-production instead — see docker-compose.yml)
|
||||
|
||||
# 4. Ensure PostgreSQL is running and the DB exists
|
||||
createdb star_db
|
||||
|
||||
Reference in New Issue
Block a user