WordCloud.online is a tool to create a word cloud online from your text and download the resulting image for free. The words of the text are lemmatized. You can select colors and fonts for the displayed words.
- Run Docker
docker compose -f docker-compose.local.yml up
-
Run backend
docker compose -f docker-compose.dev.yml up
-
Run frontend
cd frontend npm run dev
-
Run
docker-compose -f docker-compose.dev.yml up
-
Go to
backend
folder -
Create virtual environment
python3 -m venv env
-
Activate venv
source env/bin/activate
-
Install packages
pip install -r requirements.txt
- Build image for frontend
cd frontend docker build -t 1eshkin/wordcloud-frontend:x.x.x .
- Push frontend image to the Docker Hub
docker push 1eshkin/wordcloud-frontend:x.x.x
- Build image for backend
cd backend docker build -t 1eshkin/wordcloud-backend:x.x.x .
- Push backend image to the Docker Hub
docker push 1eshkin/wordcloud-backend:x.x.x
-
Copy
docker-compose.yml
to thewordcloud
folder on remote server -
Deploy app to Docker Swarm
cd wordcloud docker stack deploy --compose-file docker-compose.yml wordcloud
Add and push a new tag
git push origin v1.0.0