Web app for social media content aggregation and analysation.
- Docker
- Node
- JDK 1.8
- Python 3.6
- Intellij IDEA
- Postman
- Google Chrome Dev Tools
.circleci
- CI/CD Configurationbackend
- Backenddocker
- Container Configurationfronted
- Frontendjob_scheduler
- Job Configurationnginx
- Request Proxy Configurationplatfrom_api_service
- Platform API Servicetopic_analysis_sevice
- Topic Analysis Service
- Edit file
platform_api_service/config.json
for adding your API keys. - In directory
topic_analysis_service/makjka
add dictionaries for word lemma converter called Majka with formatx.lt
wherex
is ISO language code, e.g.cs
- (For production deploy) In a file
nginx/conf.d
change domainexample.com
to your own.
Repository contains a production setup script setup.sh
or you can execute these commands:
cd docker
docker-compose up -d
cd ../backend
./gradlew clean
./gradlew bootJar
docker build --no-cache -t socialclusters/backend .
cd ../topic_analysis_service
docker build --no-cache -t socialclusters/topic_analysis_service .
cd ../platform_api_service
docker build --no-cache -t socialclusters/platform_api_service .
cd ../frontend
docker build --no-cache -t socialclusters/frontend .
cd ../nginx
docker build --no-cache -t socialclusters/nginx .
cd ../docker
docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d
You have tu setup docker containers for Mongo and Postgres Databases...
cd docker
docker-compose up -d
cd backend
./gradlew build
cd frontend
npm install
npm start
# For backend execute setup.sh from root directory (after npm start)
Platform API Service and Topic Analysis Service has same setup:
cd service_directory
pip3 install -r requirements.txt
python3 src/server.py
Created by Matěj Horák. This project was originally part of a bachelor's thesis with supervision by Ing. Radek Burget, Ph.D. Now, the project is independent and this commit is last one from bachelor's thesis.
Project is under MIT license