Skip to content

A tool to automatically deploy staging environments on pull requests

Notifications You must be signed in to change notification settings

CroceRossaItaliana/wonderbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wonderbot

How to set up the tool

Required packages:

  • nginx
  • uwsgi
  • redis
  • celery
  • postgresql

Create a staging user that owns the /staging folder.

Structure of the folder:

/staging
|-- log
|-- scripts
|   |-- copia_backup.sh
|   |-- postgres_start.sh
|   |-- postgres_stop.sh
|-- skeleton
|   |-- config
|   |   |-- api.cnf (this is not on gh)
|-- wonderbot (all wonderbot files)
|-- robots.txt

Crean old db version

/root
|-- scripts
|   |-- clean.sh

root crontab: 59 23 * * * root sh /root/scripts/clean.sh

nginix conf in staging.cnf

About

A tool to automatically deploy staging environments on pull requests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published