Skip to content

Quickstart

Rukiye Aslan edited this page May 17, 2024 · 2 revisions

Pre-requisites

Make sure you have docker installed in your local machine. If not, you can download it from here. To check if you have docker installed, you can run the following command in your terminal:

docker --version

If you have docker installed, you should see the version of docker you have. If you don't see the version, you should install docker.

Installation

  1. Clone the repository:
 git clone https://github.com/bounswe/bounswe2024group2.git
  1. Go into the project folder
cd bounswe2024group2
  1. Create a .env file in the root directory of the project and add the following environment variables:
SECRET_KEY= <your_django_secret_key>
EMAIL_HOST_USER= <your-email-host>
EMAIL_HOST_PASSWORD= <your-email-host-password>
TMDB_API_KEY=<your_tmdb_api_key>
TMDB_RATE_LIMIT=40
OMDB_API_KEY=<your_omdb_api_key>

DEBUG=True
MYSQL_ROOT_PASSWORD=password
MYSQL_DATABASE=db
DB_NAME='db'
DB_USER='root'
DB_PASSWORD='password'
DB_HOST='db'
DB_PORT='3306'
APP_USER_PASS=irem1717

One way to generate a Django secret key is to use the following command:

python -c 'from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())'

SemanticFlix uses its own email host to send emails. You can use your own email host to send emails. If you don't have an email host, you can use the email host provided by SemanticFlix. To use the email host provided by SemanticFlix, you can contact the team members.

  1. Build the docker images
docker-compose build
  1. Run the docker containers
docker-compose up -d

With these commands, you will start the containers for backend, frontend and database. You can access the frontend from http://localhost:3000 and the backend from http://localhost:8020. Database will be running on localhost:3037.

📋 Lab Reports

📆 Meeting Notes

🧪 Lab Meetings

🗓️ General Meetings

⚙️ Backend Meetings

📝 Milestone Reports

📑 Project Documents

📜 Docs

📋 Requirements & Elicitation

✏️ Scenarios & Mockups

🗂 Plan & Roles

📊 Diagrams

👥 Team

SemanticFlix Archieve

📝 Milestone Reports

📆 Meeting Notes

🧾 Requirements

Project Plan

📊 Diagrams

👥 Team

📝 Researches

Repository Documentations

📁 Templates

Clone this wiki locally