sync
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
# Ignore large files
|
||||
public/downloads/*.zip
|
||||
*.zip
|
||||
|
||||
# Ignore node_modules
|
||||
node_modules/
|
||||
**/node_modules/
|
||||
|
||||
# Ignore git
|
||||
.git/
|
||||
.gitignore
|
||||
|
||||
# Ignore Docker files
|
||||
docker-compose.yml
|
||||
Dockerfile.*
|
||||
.docker/
|
||||
|
||||
# Ignore build outputs
|
||||
dist/
|
||||
build/
|
||||
coverage/
|
||||
|
||||
# Ignore environment files
|
||||
.env
|
||||
.env.local
|
||||
.env.*.local
|
||||
|
||||
# Ignore IDE files
|
||||
.idea/
|
||||
.vscode/
|
||||
*.swp
|
||||
*.swo
|
||||
*~
|
||||
|
||||
# Ignore logs
|
||||
logs/
|
||||
*.log
|
||||
npm-debug.log*
|
||||
|
||||
# Ignore OS files
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
# Ignore database files
|
||||
*.db
|
||||
*.sqlite
|
||||
*.sqlite3
|
||||
@@ -0,0 +1,39 @@
|
||||
# LA2 Portal Environment Variables
|
||||
|
||||
# Portal Auth
|
||||
JWT_SECRET=LA2PortalSecret123
|
||||
JWT_EXPIRES_IN=8h
|
||||
|
||||
# Portal Database (SQLite)
|
||||
DATABASE_URL=file:./dev.db
|
||||
|
||||
# Game Server Database (MSSQL)
|
||||
GAME_SERVER_HOST=192.168.1.100
|
||||
GAME_SERVER_PORT=1433
|
||||
GAME_SERVER_USER=sa
|
||||
GAME_SERVER_PASSWORD=your_game_server_password
|
||||
GAME_SERVER_DATABASE=lin2db
|
||||
|
||||
# Game World Database (MSSQL)
|
||||
GAME_WORLD_HOST=192.168.1.100
|
||||
GAME_WORLD_PORT=1433
|
||||
GAME_WORLD_USER=sa
|
||||
GAME_WORLD_PASSWORD=your_game_server_password
|
||||
GAME_WORLD_DATABASE=lin2world
|
||||
|
||||
# Server Info
|
||||
SERVER_ID=1
|
||||
SERVER_NAME=Test
|
||||
SERVER_IP=192.168.1.100
|
||||
SERVER_INNER_IP=192.168.1.100
|
||||
SERVER_PORT=7777
|
||||
SERVER_AGE_LIMIT=0
|
||||
SERVER_PK_FLAG=1
|
||||
SERVER_KIND=0
|
||||
|
||||
# Frontend
|
||||
CORS_ORIGIN=http://localhost:5173
|
||||
API_PORT=3001
|
||||
REACT_PORT=5173
|
||||
NODE_ENV=development
|
||||
VITE_API_URL=http://localhost:3001
|
||||
@@ -0,0 +1,40 @@
|
||||
# LA2 Portal Environment Variables
|
||||
# Copy this file to .env and fill in your values
|
||||
|
||||
# Portal Auth
|
||||
JWT_SECRET=LA2PortalSecret123
|
||||
JWT_EXPIRES_IN=8h
|
||||
|
||||
# Portal Database (SQLite)
|
||||
DATABASE_URL=file:./dev.db
|
||||
|
||||
# Game Server Database (MSSQL)
|
||||
GAME_SERVER_HOST=192.168.1.100
|
||||
GAME_SERVER_PORT=1433
|
||||
GAME_SERVER_USER=sa
|
||||
GAME_SERVER_PASSWORD=your_game_server_password
|
||||
GAME_SERVER_DATABASE=lin2db
|
||||
|
||||
# Game World Database (MSSQL)
|
||||
GAME_WORLD_HOST=192.168.1.100
|
||||
GAME_WORLD_PORT=1433
|
||||
GAME_WORLD_USER=sa
|
||||
GAME_WORLD_PASSWORD=your_game_server_password
|
||||
GAME_WORLD_DATABASE=lin2world
|
||||
|
||||
# Server Info
|
||||
SERVER_ID=1
|
||||
SERVER_NAME=LA2 Eternal
|
||||
SERVER_IP=192.168.1.100
|
||||
SERVER_INNER_IP=192.168.1.100
|
||||
SERVER_PORT=7777
|
||||
SERVER_AGE_LIMIT=0
|
||||
SERVER_PK_FLAG=1
|
||||
SERVER_KIND=0
|
||||
|
||||
# Frontend
|
||||
CORS_ORIGIN=http://localhost:5173
|
||||
API_PORT=3001
|
||||
REACT_PORT=5173
|
||||
NODE_ENV=development
|
||||
VITE_API_URL=http://localhost:3001
|
||||
Reference in New Issue
Block a user