relic-query-client
App for approved users to share and view 3D models on the web (Portfolio Demonstration) - Client
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.1%) to scientific vocabulary
Repository
App for approved users to share and view 3D models on the web (Portfolio Demonstration) - Client
Basic Info
- Host: GitHub
- Owner: thePortus
- License: mit
- Language: TypeScript
- Default Branch: main
- Size: 216 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
relic-query-client
App for approved users to share and view 3D models on the web (Portfolio Demonstration) - Client
By David J. Thomas, thePort.us
Full Stack (MySQL ExpressJS Angular NodeJS) app for browsing the proceedings of conferences in Medieval Studies.
Installation
Current installation is on a Docker setup.
Install docker, and docker-compose locally. Then clone this repo and move inside the directory.
sh
git clone https://github.com/thePortus/relic-query-client.git
cd relic-query-client
Thenm, modify the following files with your desired accounts/passwords/ports
``` sh
you must change the server_name and redirect to have the url to which you are deploying
sudo nano nginx/conf/default.conf
client angular settings file MUST contain the IP of the backend
sudo nano client/app/app.settings.ts
the docker config file MUST contain your domain main in the certbot command line
sudo nano docker-compose.yml ```
Run docker compose up -d.
Now, bring the containers down with docker compose down. Then edit the /nginx/conf/default.conf file and uncomment out the lower server block to enable HTTPS traffic. Make sure to replace the server_name with your relevant URLs. Then, bring the containers back up with docker compose up -d.
Finally, set the certbot to autorenew.
sh
docker compose run --rm certbot renew
Now uncomment out the second server block code in /nginx/conf/default.conf. Make SURE to put your URL in each relevant spot or the server will not boot correctly.
Finally, restart the server!
sh
docker compose restart
If you have problems and the docker container keeps restarting, the certbot might not have run correctly. To fix this, first, bring down the container with docker compose down. Then, re-comment out the SSH lines in your nginx/nginx.conf file. Now, bring the image back up with docker compose up -d. Then run the command docker compose run --rm certbot certonly --webroot --webroot-path /var/www/html/ --email sample@your_domain --agree-tos --no-eff-email -d your_domain -d www.your_domain. Once it is complete, un-comment out the nginx/nginx.conf file and docker compose up -d to get it started.
Customization
How to Change Site Title/Byline
Edit the client/app.settings.ts file to change any desired display or site information.
How to Change the Fonts
Go to fonts.google.com and select two fonts, one for headers and one for body text. Once you have selected two styles, look under the "Use on the Web" pane in the bottom right. Click the @import option and copy the code BETWEEN the two <style> tags (but don't copy the style tags themselves). Then, go to client/styles.scss and REPLACE line 9 with the new statement (just below where it says 'import google fonts').
Then, on lines 19, 20, and 21 of client/styles.scss, replate the names of the header/body fonts with your new fonts. That almost does it, but there is one last file to change. Edit client/app.settings.ts and change the bodyFont and titleFont properties to match your new fonts.
How to Change the Landing Page
Unfortunately, the landing page does take a little knowledge of Angular to edit. But, you might be able to figure your way around the templates. The files are all located in the client/components/home folder and its subdirectories.
How to Change the Fonts
Go to fonts.google.com and select two fonts, one for headers and one for body text. Once you have selected two styles, look under the "Use on the Web" pane in the bottom right. Click the @import option and copy the code BETWEEN the two <style> tags (but don't copy the style tags themselves). Then, go to client/styles.scss and REPLACE line 9 with the new statement (just below where it says 'import google fonts').
Then, on lines 19, 20, and 21 of client/styles.scss, replate the names of the header/body fonts with your new fonts. That almost does it, but there is one last file to change. Edit client/app.settings.ts and change the bodyFont and titleFont properties to match your new fonts.
How to Change the Landing Page
Unfortunately, the landing page does take a little knowledge of Angular to edit. But, you might be able to figure your way around the templates. The files are all located in the client/components/home folder and its subdirectories.
Owner
- Name: David J. Thomas
- Login: thePortus
- Kind: user
- Location: Illinois
- Website: https://theport.us
- Twitter: dave_a_base
- Repositories: 51
- Profile: https://github.com/thePortus
Digital Scholar, Ancient Historian
Citation (CITATION.cff)
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: Thomas
given-names: David
orcid: https://orcid.org/0000-0001-5494-6297
title: "relic-query-client"
abstract: "App for approved users to share and view 3D models on the web (Portfolio Demonstration) - Client."
version: 0.0.1
date-released: 2023-03-17
license: MIT
repository-code: "https://github.com/thePortus/relic-query-client"
GitHub Events
Total
Last Year
Dependencies
- nginx alpine build
- node 18-alpine build
- certbot/certbot latest
- 891 dependencies
- @angular-devkit/build-angular ^15.2.2 development
- @angular/cli ~15.2.2 development
- @angular/compiler-cli ^15.2.0 development
- @types/jasmine ~4.3.0 development
- jasmine-core ~4.5.0 development
- karma ~6.4.0 development
- karma-chrome-launcher ~3.1.0 development
- karma-coverage ~2.2.0 development
- karma-jasmine ~5.1.0 development
- karma-jasmine-html-reporter ~2.0.0 development
- typescript ~4.9.4 development
- @angular-material-components/color-picker ^9.0.0
- @angular/animations ^15.2.0
- @angular/cdk ^15.2.2
- @angular/common ^15.2.0
- @angular/compiler ^15.2.0
- @angular/core ^15.2.0
- @angular/forms ^15.2.0
- @angular/material ^15.2.2
- @angular/platform-browser ^15.2.0
- @angular/platform-browser-dynamic ^15.2.0
- @angular/router ^15.2.0
- @types/three ^0.149.0
- autoprefixer ^10.4.14
- postcss ^8.4.21
- rxjs ~7.8.0
- tailwindcss ^3.2.7
- three ^0.150.1
- tslib ^2.3.0
- zone.js ~0.12.0