File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -263,4 +263,31 @@ nginx_docker_restart:
263263
264264# Connect to the Nginx container
265265nginx_shell :
266- docker-compose exec nginx sh
266+ docker-compose exec nginx sh
267+
268+ # Scripts Commands
269+ # -------------------------------------------------
270+
271+ # Start the project with optional environment argument (e.g., make start_project ENV=production)
272+ start_project :
273+ ./scripts/start_project.sh $(ENV )
274+
275+ # Stop the project
276+ stop_project :
277+ ./scripts/stop_project.sh
278+
279+ # Restart the project
280+ restart_project :
281+ ./scripts/restart_project.sh
282+
283+ # Run migrations
284+ migrate :
285+ ./scripts/run_migrations.sh
286+
287+ # Run seeders (use SEEDER=seeder_name to specify a seeder)
288+ seed :
289+ ./scripts/run_seed.sh $(SEEDER )
290+
291+ # Clear Redis cache with confirmation
292+ clear_cache :
293+ ./scripts/clear_cache.sh
You can’t perform that action at this time.
0 commit comments