Skip to content

Commit f004b52

Browse files
nllongkfleminJieXiong9119haneslingerdependabot[bot]
authored
Remove remnants of selection tool naming (#187)
* Release 1.2.0 (#183) * update rfp image * updating validation workflow for large # errors and other small tweaks * updating use case process diagram and adding link to it from use case page * Update onboarding doc to v1.2 Add publication workflow diagram * fix test? * does this fix it? * adding example files * set 2.4.0 as default version * adding v2.4.0 schema * update references to website repo and ipynb * Update README.md Co-authored-by: Katherine Fleming <katherine.fleming@nrel.gov> * share a link to a particular spot in the schema tree * adding links to auxiliary files on current schema page * fix striping on enums table * precommit * fix link to BuildingSync schema * fix GitHub schema link * fix paths * Update BEDES Mapping * Update bsyncviewer/management/commands/bedes.py Co-authored-by: Jie Xiong <69597597+JieXiong9119@users.noreply.github.com> * fix link to bsync versioning * example zip must be names example_files.zip * Update bsyncviewer/management/commands/bedes.py Co-authored-by: Nicholas Long <1907354+nllong@users.noreply.github.com> * remove old prereleased from the website. use the final releases or go to github to see the old prereleases * remove old prereleased from the website. use the final releases or go to github to see the old prereleases * remove pr2 * Add v2.5 file * remove constraint on bedes contraint * fix versions of bsync files in 2.4.0 validator * update version in headers of xml files, but point to bsync2.3.1 with enum 2.3.0 * flake8 * updating bedes mappings and css tweak for schema list page * update enums again * adding google groups * Fix validator file options * Fix mistakes in enum mapping * edge case fix for type references enums and unions enums * autopep8 * Bump django from 2.2.24 to 2.2.27 Bumps [django](https://github.com/django/django) from 2.2.24 to 2.2.27. - [Release notes](https://github.com/django/django/releases) - [Commits](django/django@2.2.24...2.2.27) --- updated-dependencies: - dependency-name: django dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * workaround for example files dropdown by version * flake8 * increase bedes field sizes migration and update mapping * python notebook is now a markdown file! * exclude tox in coverage * Bump django from 2.2.27 to 2.2.28 Bumps [django](https://github.com/django/django) from 2.2.27 to 2.2.28. - [Release notes](https://github.com/django/django/releases) - [Commits](django/django@2.2.27...2.2.28) --- updated-dependencies: - dependency-name: django dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * move reference to correct year * precommit * fix flake8 issue * Update contact information * Fix BuildingSync Gem link * Add image credentials * Don't link to github releases * Fix "why standardize my data" link * Fix audit template name * Fix Case study name * Update contact info * Update seed links * Download example file, don't link to it * Order Validation results * Update colaberators * Address comments * Major Improvements - Fixed schema version sorting - Fixed broken and redirect links - Added rel=noopener to external links - Optimized all images, and converted large images to webp with jpg fallbacks - Fixed mixed tabs/spaces - Added favicon - Fixed javascript errors - Converted hardcoded urls to Django template tags - Fixed Windows postgres support * Updated publications * Update lxml * Update Python CI * upgrade to python 3.7.10 by bumping alpine to 3.10 * Updated docs, links, and fixed typos * Added onboarding md/html/pdf and generation task Updated collaborators/adopters * Fix onboarding header height * Updated technical resources and onboarding links * add a couple items to changelog * Add BAE to tools * Update bsyncviewer/templates/tools.html Co-authored-by: Lauren Adams <48136858+laurenliz22@users.noreply.github.com> * Add warnings * Clean * Clean * Fix Typo * update schema and example * Update examples etc. * add bedes mappings for 2.5.0 * update instruction and onboarding * update onboarding docs * save config * major code cleanup * add json formatting * add precommit and break out the requirements-test dependencies * update python versiobn * fix python tox * fix python tox * move dependencies * more updates to config * bump versions * versions * changelog --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: kflemin <katherine.fleming@nrel.gov> Co-authored-by: Xiong <jie.xiong@nrel.gov> Co-authored-by: haneslinger <heslinge@nrel.gov> Co-authored-by: Jie Xiong <69597597+JieXiong9119@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: kflemin <2205659+kflemin@users.noreply.github.com> Co-authored-by: Alex Swindler <alex.swindler@nrel.gov> Co-authored-by: Lauren Adams <48136858+laurenliz22@users.noreply.github.com> * rename selection tool paths and names to buildingsync website * fix restart and secret key --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: kflemin <katherine.fleming@nrel.gov> Co-authored-by: Xiong <jie.xiong@nrel.gov> Co-authored-by: haneslinger <heslinge@nrel.gov> Co-authored-by: Jie Xiong <69597597+JieXiong9119@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: kflemin <2205659+kflemin@users.noreply.github.com> Co-authored-by: Alex Swindler <alex.swindler@nrel.gov> Co-authored-by: Lauren Adams <48136858+laurenliz22@users.noreply.github.com>
1 parent d6ba409 commit f004b52

14 files changed

+88
-83
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# BuildingSync Use Case Selection Tool
22

3+
## Version 1.3.0
4+
5+
This version replaces the old `selection-tool` names with `buildingsync-website`.
6+
37
## Version 1.2.0
48

59
## What's Changed

Dockerfile

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# VERSION 0.1
22
# AUTHOR: Nicholas Long <nicholas.long@nrel.gov>
3-
# DESCRIPTION: Dockerfile for running BuildingSync Data Selection Tool
3+
# DESCRIPTION: Dockerfile for running BuildingSync Website
44
# TO_BUILD_AND_RUN: docker-compose build && docker-compose up
55
FROM alpine:3.10
66

@@ -37,27 +37,27 @@ RUN apk add --no-cache python3 \
3737
## - pip install --upgrade pip overwrites the pip so it is no longer a symlink
3838
## - install supervisor that works with Python3.
3939

40-
WORKDIR /srv/selection-tool
41-
COPY /requirements.txt /srv/selection-tool/requirements.txt
40+
WORKDIR /srv/buildingsync-website
41+
COPY /requirements.txt /srv/buildingsync-website/requirements.txt
4242
RUN pip install -r requirements.txt
4343

44-
WORKDIR /srv/selection-tool
44+
WORKDIR /srv/buildingsync-website
4545
### Copy over the remaining part of the application and some helpers
46-
COPY . /srv/selection-tool/
46+
COPY . /srv/buildingsync-website/
4747

4848
### Copy the wait-for-it command to /usr/local
4949
COPY /docker/wait-for-it.sh /usr/local/wait-for-it.sh
5050

51-
# nginx configurations - alpine doesn't use the sites-available directory. Put the selection tool
52-
# configuration file into the /etc/nginx/conf.d/ folder.
53-
COPY /docker/nginx.conf /etc/nginx/conf.d/selection_tool.conf
51+
# nginx configurations - alpine doesn't use the sites-available directory. Put the buildingsync
52+
# website configuration file into the /etc/nginx/conf.d/ folder.
53+
COPY /docker/nginx.conf /etc/nginx/conf.d/buildingsync-website.conf
5454
# Supervisor looks in /etc/supervisor for the configuration file.
5555
COPY /docker/supervisord.conf /etc/supervisor/supervisord.conf
5656

5757
# entrypoint sets some permissions on directories that may be shared volumes
58-
COPY /docker/selection-tool-entrypoint.sh /usr/local/bin/selection-tool-entrypoint
59-
RUN chmod 775 /usr/local/bin/selection-tool-entrypoint
60-
ENTRYPOINT ["selection-tool-entrypoint"]
58+
COPY /docker/buildingsync-website-entrypoint.sh /usr/local/bin/buildingsync-website-entrypoint
59+
RUN chmod 775 /usr/local/bin/buildingsync-website-entrypoint
60+
ENTRYPOINT ["buildingsync-website-entrypoint"]
6161

6262
CMD ["supervisord"]
6363

backup_database.sh

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#!/bin/bash
22

3-
# This backup script creates nightly database and media file backups of the Selection Tool when running
3+
# This backup script creates nightly database and media file backups of the BuildingSync website when running
44
# in a docker container. The name of the container running the database is hardcoded to look for
55
# *db-postgres*. This may cause an issue if several docker applications are running on the same
6-
# system. Also, the location of the backups is hardcoded to ~/selection-tool-backups.
6+
# system. Also, the location of the backups is hardcoded to ~/buildingsync-website-backups.
77

88
# To create nightly backups, add the following to your crontab
9-
# 0 0 * * * /srv/selection-tool/backup_database.sh <db_name> <db_username> >> /home/ubuntu/selection-tool-backups/cron.log 2>&1
9+
# 0 0 * * * /srv/buildingsync-website/backup_database.sh <db_name> <db_username> >> /home/ubuntu/buildingsync-website-backups/cron.log 2>&1
1010

1111
DB_NAME=$1
1212
DB_USERNAME=$2
@@ -25,19 +25,18 @@ if [[ (-z ${DB_NAME}) || (-z ${DB_USERNAME}) ]] ; then
2525
fi
2626

2727
# currently the backup directory is hard coded
28-
BACKUP_DIR=/home/ubuntu/selection-tool-backups
28+
BACKUP_DIR=/home/ubuntu/buildingsync-website-backups
2929
mkdir -p ${BACKUP_DIR}
3030

3131
# db_password is set from the environment variables in docker-compose. The docker stack must
3232
# be running for this command to work.
3333
echo "docker exec $(docker ps -f "name=buildingsyncwebsite_db-postgres" --format "{{.ID}}") pg_dump -U ${DB_USERNAME} -Fc ${DB_NAME} > $(file_name)"
3434
docker exec $(docker ps -f "name=buildingsyncwebsite_db-postgres" --format "{{.ID}}") pg_dump -U ${DB_USERNAME} -Fc ${DB_NAME} > $(file_name)
3535

36-
3736
# Backup the media directory (uploads, especially buildingsync). In docker-land this is
3837
# just a container volume, so create a new container with the volume attached and tar it up.
39-
echo "docker run --rm -it -v selectiontool_mediadata_redesign:/backup/media -v $BACKUP_DIR:/backup/dir/ alpine:3.8 tar zcvf $(media_file_name) /backup/media"
40-
docker run --rm -v selectiontool_mediadata_redesign:/backup/media -v $BACKUP_DIR:/backup/dir/ alpine:3.8 tar zcvf $(media_file_name) /backup/media
38+
echo "docker run --rm -it -v buildingsync_media:/backup/media -v $BACKUP_DIR:/backup/dir/ alpine:3.8 tar zcvf $(media_file_name) /backup/media"
39+
docker run --rm -v buildingsync_media:/backup/media -v $BACKUP_DIR:/backup/dir/ alpine:3.8 tar zcvf $(media_file_name) /backup/media
4140

4241
# Delete files older than 30 days.
4342
find ${BACKUP_DIR} -mtime +30 -type f -name '*.dump' -delete

docker-compose.dev.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ services:
88
environment:
99
- DJANGO_SETTINGS_MODULE=bsyncviewer.settings.docker_dev
1010
volumes:
11-
- ./bsyncviewer:/srv/selection-tool/bsyncviewer
12-
- selectiontool_mediadata:/srv/selection-tool/bsyncviewer/media
11+
- ./bsyncviewer:/srv/buildingsync-website/bsyncviewer
12+
- buildingsync_media:/srv/buildingsync-website/bsyncviewer/media

docker-compose.prod.yml

+15-13
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,23 @@
77
# Must set the following environment variables
88
# POSTGRES_USER
99
# POSTGRES_PASSWORD
10-
# SELECTION_TOOL_ADMIN_USER
11-
# SELECTION_TOOL_ADMIN_PASSWORD
12-
# SELECTION_TOOL_ADMIN_ORG
10+
# BUILDINGSYNC_WEBSITE_ADMIN_USER
11+
# BUILDINGSYNC_WEBSITE_ADMIN_EMAIL
12+
# BUILDINGSYNC_WEBSITE_ADMIN_PASSWORD
1313
# SECRET_KEY
1414

1515
version: "3"
1616
services:
1717
db-postgres:
1818
image: postgres:11.1
1919
environment:
20-
- POSTGRES_DB=selection-tool
20+
- POSTGRES_DB=buildingsync-website
2121
- POSTGRES_USER
2222
- POSTGRES_PASSWORD
2323
volumes:
24-
- selectiontool_pgdata_redesign:/var/lib/postgresql/data
25-
- $HOME/selection-tool-backups:/backups
24+
- buildingsync_pgdata:/var/lib/postgresql/data
25+
- $HOME/buildingsync-website-backups:/backups
26+
restart: unless-stopped
2627
deploy:
2728
restart_policy:
2829
condition: on-failure
@@ -32,29 +33,30 @@ services:
3233
web:
3334
build: .
3435
environment:
35-
- POSTGRES_DB=selection-tool
36+
- POSTGRES_DB=buildingsync-website
3637
- POSTGRES_USER
3738
- POSTGRES_PASSWORD
3839
- SECRET_KEY
3940
- DJANGO_SETTINGS_MODULE=bsyncviewer.settings.docker
4041
- DJANGO_DEBUG=False
41-
- SELECTION_TOOL_ADMIN_USER
42-
- SELECTION_TOOL_ADMIN_EMAIL
43-
- SELECTION_TOOL_ADMIN_PASSWORD
42+
- BUILDINGSYNC_WEBSITE_ADMIN_USER
43+
- BUILDINGSYNC_WEBSITE_ADMIN_EMAIL
44+
- BUILDINGSYNC_WEBSITE_ADMIN_PASSWORD
4445
depends_on:
4546
- db-postgres
4647
ports:
4748
- "8082:80"
4849
volumes:
49-
- selectiontool_mediadata_redesign:/srv/selection-tool/bsyncviewer/media
50+
- buildingsync_media:/srv/buildingsync-website/bsyncviewer/media
51+
restart: unless-stopped
5052
deploy:
5153
restart_policy:
5254
condition: on-failure
5355
delay: 5s
5456
max_attempts: 3
5557
window: 120s
5658
volumes:
57-
selectiontool_pgdata_redesign:
59+
buildingsync_pgdata:
5860
external: true
59-
selectiontool_mediadata_redesign:
61+
buildingsync_media:
6062
external: true

docker-compose.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,31 @@ services:
55
db-postgres:
66
image: postgres:11.1
77
environment:
8-
- POSTGRES_DB=selection-tool
9-
- POSTGRES_USER=selection-tool
8+
- POSTGRES_DB=buildingsync-website
9+
- POSTGRES_USER=buildingsync-website
1010
- POSTGRES_PASSWORD=super-secret-password
1111
volumes:
12-
- selectiontool_pgdata:/var/lib/postgresql/data
12+
- buildingsync_pgdata:/var/lib/postgresql/data
1313
web:
1414
build: .
1515
environment:
16-
- POSTGRES_DB=selection-tool
17-
- POSTGRES_USER=selection-tool
16+
- POSTGRES_DB=buildingsync-website
17+
- POSTGRES_USER=buildingsync-website
1818
- POSTGRES_PASSWORD=super-secret-password
1919
- SECRET_KEY=super-secret-key
2020
- DJANGO_SETTINGS_MODULE=bsyncviewer.settings.docker
2121
- DJANGO_DEBUG=False
22-
- SELECTION_TOOL_ADMIN_USER=admin
23-
- SELECTION_TOOL_ADMIN_EMAIL=admin@buildingsync.net
24-
- SELECTION_TOOL_ADMIN_PASSWORD=super-secure-password
22+
- BUILDINGSYNC_WEBSITE_ADMIN_USER=admin
23+
- BUILDINGSYNC_WEBSITE_ADMIN_EMAIL=admin@buildingsync.net
24+
- BUILDINGSYNC_WEBSITE_ADMIN_PASSWORD=super-secure-password
2525
depends_on:
2626
- db-postgres
2727
ports:
2828
- "8080:80"
2929
volumes:
30-
- selectiontool_mediadata:/srv/selection-tool/bsyncviewer/media
30+
- buildingsync_media:/srv/buildingsync-website/bsyncviewer/media
3131
volumes:
32-
selectiontool_pgdata:
32+
buildingsync_pgdata:
3333
external: true
34-
selectiontool_mediadata:
34+
buildingsync_media:
3535
external: true

docker/README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,27 @@ below on production, only for testing locally.
1313

1414
- Starting over - one line
1515

16-
`docker-compose stop && docker-compose rm -f && docker-compose build && docker volume rm pgdata && docker volume rm mediadata && docker volume create --name=selectiontool_pgdata && docker volume create --name=selectiontool_mediadata && docker-compose up`
16+
`docker-compose stop && docker-compose rm -f && docker-compose build && docker volume rm pgdata && docker volume rm mediadata && docker volume create --name=buildingsync_pgdata && docker volume create --name=buildingsync_media && docker-compose up`
1717

1818
# Deploying with Docker and Docker Compose on Remote Server
1919

2020
- Check out the source code to `/srv/BuildingSync-website`
2121
- Create new secret key from [here](http://www.miniwebtool.com/django-secret-key-generator/).
22-
- Set environment variables that will be passed to docker in /etc/profile.d/selectiontool.sh
22+
- Set environment variables that will be passed to docker in /etc/profile.d/buildingsync.sh
2323

2424
```bash
25-
export POSTGRES_USER=selection-tool
25+
export POSTGRES_USER=buildingsync-website
2626
export POSTGRES_PASSWORD=super-secret-password
27-
export SELECTION_TOOL_ADMIN_USER=admin
28-
export SELECTION_TOOL_ADMIN_PASSWORD=super-secret-password
29-
export SELECTION_TOOL_ADMIN_EMAIL=admin@buildingsync.net
30-
export SECRET_KEY=Super-Long-Secret-Key-From-Step-Above
27+
export BUILDINGSYNC_WEBSITE_ADMIN_USER=admin
28+
export BUILDINGSYNC_WEBSITE_ADMIN_PASSWORD=super-secret-password
29+
export BUILDINGSYNC_WEBSITE_ADMIN_EMAIL=admin@buildingsync.net
30+
export SECRET_KEY="Super-Long-Secret-Key-From-Step-Above"
3131
```
3232

3333
- Build the containers and Deploy
3434

3535
```bash
36-
cd /srv/BuildingSync-website/
36+
cd /srv/buildingsync-website/
3737
docker-compose -f docker-compose.prod.yml up -d --build
3838
```
3939

@@ -42,7 +42,7 @@ below on production, only for testing locally.
4242
- Log into the server
4343

4444
```bash
45-
cd /srv/BuildingSync-website
45+
cd /srv/buildingsync-website/
4646
git pull
4747
docker-compose -f docker-compose.prod.yml up -d --build
4848
```
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
3+
# Make sure various folders exist before setting permissions
4+
mkdir -p /srv/buildingsync-website/bsyncviewer/collected_static && chmod 775 /srv/buildingsync-website/bsyncviewer/collected_static
5+
mkdir -p /srv/buildingsync-website/bsyncviewer/media/uploaded_schemas
6+
mkdir -p /srv/buildingsync-website/bsyncviewer/media/usecase_mappings
7+
mkdir -p /srv/buildingsync-website/bsyncviewer/media/usecase_templates
8+
9+
# Set the owner and permissions on the various folders
10+
chown -R uwsgi.uwsgi /srv/buildingsync-website/bsyncviewer/media
11+
find /srv/buildingsync-website/bsyncviewer/media -type f -exec chmod 664 {} \;
12+
find /srv/buildingsync-website/bsyncviewer/media -type d -exec chmod 775 {} \;
13+
14+
# logging directories
15+
mkdir -p /var/log/django && chmod 777 /var/log/django && touch /var/log/django/bsyncviewer.log && chown uwsgi /var/log/django/bsyncviewer.log
16+
17+
exec "$@"

docker/nginx.conf

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# the upstream component nginx needs to connect to
2-
upstream selection_tool_upsteam {
2+
upstream buildingsync_website_upsteam {
33
# server 127.0.0.1:8080;
4-
server unix:///tmp/uwsgi-selection-tool.sock;
4+
server unix:///tmp/uwsgi-buildingsync-website.sock;
55
}
66

77
# configuration of the server
@@ -23,18 +23,18 @@ server {
2323

2424
location = /favicon.ico { access_log off; log_not_found off; }
2525
location /media {
26-
alias /srv/selection-tool/bsyncviewer/media;
26+
alias /srv/buildingsync-website/bsyncviewer/media;
2727
}
2828
location /static {
29-
alias /srv/selection-tool/bsyncviewer/collected_static;
29+
alias /srv/buildingsync-website/bsyncviewer/collected_static;
3030
}
3131
location /documentation/ {
32-
alias /srv/selection-tool/bsyncviewer/media/generated_docs/;
32+
alias /srv/buildingsync-website/bsyncviewer/media/generated_docs/;
3333
try_files $uri.html =404;
3434
}
3535

3636
location / {
37-
uwsgi_pass selection_tool_upsteam;
37+
uwsgi_pass buildingsync_website_upsteam;
3838
uwsgi_read_timeout 600;
3939
uwsgi_send_timeout 600;
4040
include /etc/nginx/uwsgi_params;

docker/selection-tool-entrypoint.sh

-17
This file was deleted.

docker/start_server.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
cd /srv/selection-tool
3+
cd /srv/buildingsync-website
44

55
echo "Waiting for postgres to start"
66
/usr/local/wait-for-it.sh --strict db-postgres:5432
@@ -14,9 +14,9 @@ echo "Waiting for postgres to start"
1414
./manage.py bedes --schema_version=1.0.0 --bedes_version=v2.2 --save_to_db
1515

1616
# Create the default user based on the env vars
17-
echo "from django.contrib.auth import get_user_model; User = get_user_model(); User.objects.create_superuser('${SELECTION_TOOL_ADMIN_USER}', '${SELECTION_TOOL_ADMIN_EMAIL}', '${SELECTION_TOOL_ADMIN_PASSWORD}')" | python manage.py shell
17+
echo "from django.contrib.auth import get_user_model; User = get_user_model(); User.objects.create_superuser('${BUILDINGSYNC_WEBSITE_ADMIN_USER}', '${BUILDINGSYNC_WEBSITE_ADMIN_EMAIL}', '${BUILDINGSYNC_WEBSITE_ADMIN_PASSWORD}')" | python manage.py shell
1818

1919
WORKERS=$(($(nproc) / 2))
2020
WORKERS=$(($WORKERS>1?$WORKERS:1))
2121

22-
/usr/bin/uwsgi --ini /srv/selection-tool/docker/uwsgi.ini
22+
/usr/bin/uwsgi --ini /srv/buildingsync-website/docker/uwsgi.ini

docker/supervisord.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ childlogdir=/var/log/supervisord/ ; where child log files will liv
1717
serverurl=unix:///tmp/supervisor.sock ; use a unix:// URL for a unix socket
1818

1919
[program:uwsgi]
20-
command=/srv/selection-tool/docker/start_server.sh
20+
command=/srv/buildingsync-website/docker/start_server.sh
2121
stdout_logfile=/dev/fd/1
2222
stdout_logfile_maxbytes=0
2323
stderr_logfile=/dev/fd/1

docker/uwsgi.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# load base config from below
33
ini = :base
44

5-
socket = /tmp/uwsgi-selection-tool.sock
5+
socket = /tmp/uwsgi-buildingsync-website.sock
66
master = true
77
processes = 2
88
max-requests = 5000
@@ -17,7 +17,7 @@ single-interpreter = true
1717

1818
[base]
1919
# Where the source code lives
20-
chdir=/srv/selection-tool
20+
chdir=/srv/buildingsync-website
2121
# load the module from wsgi.py, it is a python path from the directory above.
2222
module=bsyncviewer.wsgi:application
2323
chmod-socket=666

docs/onboarding.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ Figure 1. Adding and validating BuildingSync use case
150150

151151
## Validation
152152

153-
Users can use the [BuildingSync Use Case Selection Tool / Validator](https://buildingsync.net/validator) to validate XML documents against both the general BuildingSync schema in different versions and public use cases. The validator can be used directly on the BuildingSync Selection Tool, and example files are also provided. Other customizable validation methods and examples can be found on the [BuildingSync Technical Resources website](https://buildingsync.net/technical_resources).
153+
Users can use the [BuildingSync Use Case Validator Tool](https://buildingsync.net/validator) to validate XML documents against both the general BuildingSync schema in different versions and public use cases. The validator can be used directly on the BuildingSync Website, and example files are also provided. Other customizable validation methods and examples can be found on the [BuildingSync Technical Resources website](https://buildingsync.net/technical_resources).
154154

155155
Additionally, a Validator API has been developed to programmatically validate XML files within a third-party web tool or software package. More information on the API can be seen on the [Validator on GitHub](https://github.com/BuildingSync/BuildingSync-website#validator).
156156

0 commit comments

Comments
 (0)