Skip to content
Snippets Groups Projects
setup.md 852 B
Newer Older
Arnaud Levy's avatar
Arnaud Levy committed
# 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

Arnaud Levy's avatar
Arnaud Levy committed
https://demo.osuny.org
https://bordeauxmontaigne.osuny.org
https://clermontferrand.osuny.org

Arnaud Levy's avatar
Arnaud Levy committed
## Staging

Arnaud Levy's avatar
Arnaud Levy committed
https://demo.osuny.dev
https://bordeauxmontaigne.osuny.dev
https://clermontferrand.osuny.dev

Arnaud Levy's avatar
Arnaud Levy committed
## Dev

The solution is to set up a host.

/etc/hosts
```
127.0.0.1       osuny.osuny
127.0.0.1       bordeauxmontaigne.osuny
127.0.0.1       clermontferrand.osuny
```

Then we have access on:
- http://osuny.osuny:3000
- http://bordeauxmontaigne.osuny:3000
- http://clermontferrand.osuny:3000