Setup

As Osuny is multi-university, we need ways to:

  • deploy university to production (even without website yet)
  • deploy university to staging
  • work locally on a specific university

And as each university is multi-website, we need ways to:

  • deploy website to production
  • deploy website to staging
  • work locally on a specific website

Production

git remote add production git@ssh.osc-fr1.scalingo.com:osuny-production.git

Staging

No setup to do, it’s auto-deployed from Github.

Dev

The solution is to set up a host.

/etc/hosts

127.0.0.1       demo.osuny
127.0.0.1       bordeauxmontaigne.osuny
127.0.0.1       clermontauvergne.osuny

Then we have access on: