diff --git a/README.md b/README.md index 372161d..ff06edd 100644 --- a/README.md +++ b/README.md @@ -43,21 +43,14 @@ git clone https://github.com/ConnectedHumber/Air-Quality-Web.git ``` -2. Change the ownership to allow your web server user to access the created directory. Usually, the web server will be running under the `www-data` user: - -```bash -sudo chown -R www-data:www-data path/to/Air-Quality-Web -``` - - -3. `cd` into the root of the cloned repository. Then install the dependencies (these are installed locally): +2. `cd` into the root of the cloned repository. Then install the dependencies (these are installed locally): ```bash ./build setup setup-dev ``` -4. Build the client-side application: +3. Build the client-side application: ```bash # For development, run this: @@ -68,6 +61,12 @@ NODE_ENV=production ./build client ./build client-watch ``` +4. Change the ownership to allow your web server user to access the created directory. Usually, the web server will be running under the `www-data` user: + +```bash +sudo chown -R www-data:www-data path/to/Air-Quality-Web +``` + 5. Edit `data/settings.toml` to enter your database credentials.