@@ -21,7 +21,7 @@ Choose a cozy subdomain for you instance like `cozy.mydomain.tld`. Declare on yo
...
@@ -21,7 +21,7 @@ Choose a cozy subdomain for you instance like `cozy.mydomain.tld`. Declare on yo
## Reverse proxy configuration
## Reverse proxy configuration
The deployed cozy installation is not ready for web yet, it need to be exposed to the web through a reverse proxy. As cozy generates sub-domains for every applications, Let's Encrypt certificates must be generated dynamically.
The deployed cozy installation is not ready for web yet, it need to be exposed to the web through a reverse proxy. As cozy generates sub-domains for every applications, Let's Encrypt certificates must be generated dynamically.
[Vestibule](https://github.com/nicolaspernoud/Vestibule) can be easily used to do so. Traefik can also be used, but if you want to do so, consider using the upfront vsellier's [easy-cozy](https://github.com/vsellier/easy-cozy).
[Vestibule](https://github.com/nicolaspernoud/Vestibule) can be easily used to do so. Traefik can also be used, but if you want to do so, consider using the upfront vsellier's [easy-cozy](https://github.com/vsellier/easy-cozy).
- On the root directory of the project, create a `.env` file. You can use the [env.template](env.template) file as reference.
- On the root directory of the project, create a `.env` file. You can use the [env.template](env.template) file as reference.
- By default, your first instance is named 'nicolas'. To change it, open the [install.sh](install.sh) script and modify the line where `create-instance.sh` is called.
- By default, your first instance is named 'demo'. To change it, open the [install.sh](install.sh) script and modify the line where `create-instance.sh` is called.
- Start the server for the first time
- Start the server for the first time
```sh
```sh
sudo ./install.sh
sudo ./install.sh
```
```
This will start the containers, create the databases and create an instance with basic applications.
This will start the containers, create the databases and create an instance with basic applications.
Open in a browser the url displayed at the end of the script output to finalize the instance configuration.
Open in a browser the url displayed at the end of the script output to finalize the instance configuration.
...
@@ -83,4 +84,4 @@ sudo ./update.sh
...
@@ -83,4 +84,4 @@ sudo ./update.sh
## Reset your cozy
## Reset your cozy
If for some reason you need to reset your cozy, simply re-run [install.sh](install.sh).
If for some reason you need to reset your cozy, simply re-run [install.sh](install.sh).
Careful, all the data and instances will be removed and you will have a new, clean cozy with basic apps.
Careful, all the data and instances will be removed and you will have a new, clean cozy with basic apps.