Skip to content

Commit

Permalink
Update development-and-deployment.md (#2367)
Browse files Browse the repository at this point in the history
  • Loading branch information
joanreyero authored Apr 17, 2024
1 parent e48a5b2 commit 947cc97
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions technical-docs/development-and-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,13 @@ Your website is running at `crowd.yourdomain.com` on port 80 (http) without encr
- currently the file is set up to host on `*.yourdomain.com` so please open it up and change all occurances to your domain (see `server_name`)
- open up `scripts/scaffold.yaml` and find `nginx` service and change ports to be `80:80` instead of `443:443`

To initiate all the services, use the command `./cli clean-start` only once. This command creates and stores data in Docker volumes. It's crucial to understand that running `./cli clean-start` again will result in the loss of all previously stored data because it reinitializes the services and their associated volumes from scratch.
### Machine specifications

For a single-machine deplpymnent, we recommend a Linux server, with at least 24GB of RAM and 8 cores 2Ghz CPU.

### Deploying services

Clone the code into your machine. To initiate all the services, use the command `./cli clean-start`. This command creates and stores data in Docker volumes. It's crucial to understand that running `./cli clean-start` again will result in the loss of all previously stored data because it reinitializes the services and their associated volumes from scratch.

In scenarios where your server encounters an issue and requires a restart without losing existing data, you should opt for `./cli start`. This command ensures that your services are rebooted using the existing data stored in Docker volumes, thus preserving your data integrity.

Expand Down Expand Up @@ -228,10 +234,6 @@ To provide your own PostgreSQL instance you should:

5. After that you can start services normally with `./cli clean-start`. After a few minutes, the web application should be running at [http://localhost:8081](http://localhost:8081).

### Machine specifications

For a single-machine deplpymnent, we recommend a Linux server, with at least 24GB of RAM and 8 cores 2Ghz CPU.

### Setting up integrations

Integrations will need to be set on a individual basis. Please refer to the [guides on setting up integrations](integrations.md).
Expand Down

0 comments on commit 947cc97

Please sign in to comment.