@@ -209,8 +209,8 @@ VITE_GOOGLE_CLIENT_ID=your_google_client_id_here
209209```
210210
211211** Root Environment Files:**
212- - ` root /.env` (for development)
213- - ` root /.production.env` (for production)
212+ - ` project_root /.env` (for development)
213+ - ` project_root /.production.env` (for production)
214214
215215``` env
216216GOOGLE_CLIENT_ID=your_google_client_id_here
@@ -224,7 +224,7 @@ Make sure all four files contain the correct Google Client ID:
224224
225225### Database Setup
226226
227- This project uses a PostgreSQL database. The database schema and initial data are defined in ` root /database/init.sql` .
227+ This project uses a PostgreSQL database. The database schema and initial data are defined in ` project_root /database/init.sql` .
228228
229229#### Development Environment
230230
@@ -257,7 +257,7 @@ For development, the database is automatically set up using Docker Compose:
257257 ```
258258
2592593 . ** Database initialization includes:**
260- - Creating tables and schemas defined in ` root /database/init.sql`
260+ - Creating tables and schemas defined in ` project_root /database/init.sql`
261261- Setting up initial data
262262- Configuring database constraints and indexes
263263- All queries in ` init.sql ` are executed automatically on first startup
@@ -268,9 +268,9 @@ For production deployment, you need to manually set up the database:
268268
2692691 . ** Create a PostgreSQL database** (probably [ Database of Babel] ( https://github.com/metakgp/dob ) )
270270
271- 2 . ** Execute the initialization queries from ` root /database/init.sql` :**
271+ 2 . ** Execute the initialization queries from ` project_root /database/init.sql` :**
272272 ``` bash
273- psql -h your_host -U your_user -d your_database -f root /database/init.sql
273+ psql -h your_host -U your_user -d your_database -f project_root /database/init.sql
274274 ```
275275
2762763 . ** Configure your production environment variables** with the database connection details:
@@ -286,7 +286,7 @@ For production deployment, you need to manually set up the database:
286286
287287#### Database Schema
288288
289- The ` root /database/init.sql` file contains:
289+ The ` project_root /database/init.sql` file contains:
290290- Table definitions for users, notes and votes
291291- Foreign key constraints and relationships
292292
0 commit comments