-
Notifications
You must be signed in to change notification settings - Fork 2
System Manual
Hüseyin Türker Erdem edited this page Dec 20, 2024
·
1 revision
- Minimum: 2-core CPU, 2 GB RAM, 10 GB SSD.
- Recommended: 4-core CPU, 4 GB RAM, 20 GB SSD.
- Operating System: Ubuntu 22.04.
- Other Dependencies: Docker (v27.4+), Node.js (v20.18+), PostgreSQL (v14).
- Ensure administrator-level permissions on the target server.
- Verify network connectivity for database and API access.
- Verify GCP Cloud Storage permissions from backend.
sudo apt install -y postgresql postgresql-contrib
sudo systemctl start postgresql
sudo systemctl enable postgresql
sudo -i -u postgres bash <<EOF
createdb threedesign
psql -c "CREATE USER postgres WITH PASSWORD 'psqldev2024';"
psql -c "GRANT ALL PRIVILEGES ON DATABASE threedesign TO postgres;
EOF
sudo apt update
sudo apt install -y apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update
sudo apt install -y docker-ce docker-ce-cli containerd.io
sudo systemctl start docker
sudo systemctl enable docker
sudo docker --version
sudo systemctl status docker
sudo usermod -aG docker $USER
git clone https://github.com/bounswe/bounswe2024group8.git
cd bounswe2024group8
cd 3Design/backend/
docker build -t backend:1.0 -f Dockerfile ./threedesign/
docker run -d -v /path/to/gcp/cloud/access/pamkeyfile.json:/key.json -e GOOGLE_APPLICATION_CREDENTIALS=/key.json --name backend --rm -p 8080:8080 --network host backend:1.0
docker exec backend /bin/bash -c "nohup java -jar /app/target/threedesign-0.0.1-SNAPSHOT.jar &"
cd ../../
cd 3Design/frontend/
docker build -t frontend:1.0 -f Dockerfile ./
docker run -d --name frontend -p 3000:3000 --network host frontend:1.0
Step 4: Verify the deployment by accessing localhost:3000 (or IP:PORT for non-local access) in your browser.
- Ant Design (v5.x)
- Axios (v1.x)
- DaisyUI (v4.x)
- dotenv (v16.x)
- Online 3D Viewer (v0.15.x)
- React (v18.x)
- React Countdown (v2.x)
- React DOM (v18.x)
- React Router DOM (v6.x)
- React Scripts (v5.x)
- TypeScript (v4.x)
- Web Vitals (v2.x)
- Autoprefixer (v10.x)
- PostCSS (v8.x)
- TailwindCSS (v3.x)
- Spring Boot Starter Data JPA
- Spring Boot Starter Security
- Spring Boot Starter Web
- PostgreSQL JDBC Driver
- Lombok
- Spring Boot Starter Validation
- Spring Boot Starter Test
- Spring Security Test
- JJWT API (v0.11.5)
- JJWT Implementation (v0.11.5)
- JJWT Jackson Integration (v0.11.5)
- Jakarta Validation API (v3.0.2)
- Apache Jena Libraries (v3.17.0)
- Spring Retry (v2.0.3)
- Google Cloud Storage SDK (v2.44.1)
- Jackson Databind (v2.17.2)
- SpringDoc OpenAPI WebMVC UI (v2.5.0)
- PostgreSQL (v14.15)
- GCP Cloud Storage
- Download from: https://nodejs.org/
- Version: v20.18.x or later
- Install using the package manager or from: https://www.postgresql.org/
- Version: v14.15 or later
- Install using the package manager or from: https://www.docker.com/
- Version: v27.4.x or later
Managed via the project’s configuration files:
- bounswe2024group8/3Design/frontend/package.json (frontend)
- bounswe2024group8/3Design/backend/threedesign/pom.xml (backend).
🏠Home
- Third Customer Milestone Report
- RAM
- Requirements
- Mockups
- Sequence Diagrams
- Use Case Diagram
- Class Diagrams
- Scenarios
- User Scenario
- User Manual
- System Manual
- Third Customer Milestone Report
- Second Customer Milestone Report
- First Customer Milestone Report
- RAM
- Requirements
- Mockups
- Sequence Diagrams
- Scenarios
- Use Case Diagram
- Class Diagrams
- Software Quality Plan
- Milestone1 Presentation Scenarios
- Post Creation Page
- User Scenario
- Meeting Notes 10 - Dec 10
- Meeting Notes 9 - Dec 3
- Meeting Notes 8 - Nov 17
- Meeting Notes 7 - Nov 12
- Meeting Notes 6 - Nov 5
- Optional Meeting Notes 1 ‐ Oct 21
- Meeting Notes 5 - Oct 15
- Meeting Notes 4 - Oct 8
- Meeting Notes 3 - Oct 3
- Meeting Notes 2 - Oct 1
- Meeting Notes 1 - Sep 24
- Deniz Ulaş Poyraz
- Eren Donmez
- Ersel Çanakçılı
- Oğuz Kağnıcı
- Onur Çerli
- Yekta Ercul
- Ali Alperen Sönmez
- Huseyin Turker Erdem
- Mehmet Tuluyhan Sozen
352 Material
- Final Milestone Report
- Milestone 2 Report
- RAM
- Use Case Diagram
- Sequence Diagrams
- Class Diagrams
- Requirements
- Elicitation Questions
- Mockups
- Scenarios
- Milestone 1 Report
- Our Favourite Repositories
- Linked Data and SPARQL
- Web Application Development
- API Development and Utilization
- Wikidata and Wikidata API
- Mobile Application Development
- Android Studio
- Git
- Meeting Notes 10 ‐ May 10th
- Meeting Notes 9 ‐ Apr 25th
- Meeting Notes 8 ‐ Apr 21st
- Meeting Notes 7 ‐ Apr 12th
- Meeting Notes 6 ‐ Mar 14th
- Meeting Notes 5 ‐ Mar 11th
- Meeting Notes 4 - Mar 7th
- Meeting Notes 3 - Mar 3rd
- Meeting Notes 2 - Feb 22nd
- Meeting Notes 1 - Feb 18th