Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

codenip-tech/api-docs-update

Open more actions menu

Repository files navigation

API DOCS UPDATE

YouTube video link:

Instructions

  • make build to build the containers
  • make start to start the containers
  • make stop to stop the containers
  • make restart to restart the containers
  • make prepare to install dependencies with composer
  • make logs to see application logs
  • make ssh to SSH into the application container
  • Once you have installed you Symfony application go to http://localhost:1000/api/docs

Supervisor config

[program:app]
command=/root/binaries/app/app php-server --domain [your_domain_here]
autostart=true
autorestart=true
stderr_logfile=/root/binaries/app/logs/logfile.err.log
stdout_logfile=/root/binaries/app/logs/logfile.out.log

Deploy script

# Stop app
supervisorctl stop app

# Extract binary file from archive
gzip -d /root/download/build/app.gz

# Move binary to application folder
mv -f /root/download/build/app /root/binaries/app

# Update supervisor config
supervisorctl reread
supervisorctl update

# Start updated app
supervisorctl start app

About

Repositorio donde actualizamos nuestra explicación sobre Swagger para documentar nuestras APIs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.