GithubHelp home page GithubHelp logo

leshkin / wordcloud Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 2.36 MB

Word Cloud is a tool to create a word cloud online from your text and download the resulting image for free.

Home Page: https://wordcloud.online

Dockerfile 1.57% Python 7.14% Vue 38.22% JavaScript 26.06% CSS 0.47% TypeScript 26.54%
cloud word lemmatizer

wordcloud's Introduction

Word Cloud

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.

GitHub Super-Linter

Word cloud for "1984, George Orwell, 1st chapter"

Word cloud for 1984, George Orwell, 1st chapter

Run locally

  1. Run Docker
docker compose -f docker-compose.local.yml up
  1. Open http://wordcloud.localhost

Development

  1. Run backend

    docker compose -f docker-compose.dev.yml up
  2. Run frontend

    cd frontend
    npm run dev

Run application in the development mode using Docker

  1. Run

    docker-compose -f docker-compose.dev.yml up
  2. Open http://localhost:8080

Install backend to virtual environment

  1. Go to backend folder

  2. Create virtual environment

    python3 -m venv env
  3. Activate venv

    source env/bin/activate
  4. Install packages

    pip install -r requirements.txt

Build images

  1. Build image for frontend
    cd frontend
    docker build -t 1eshkin/wordcloud-frontend:x.x.x .
  2. Push frontend image to the Docker Hub
    docker push 1eshkin/wordcloud-frontend:x.x.x
  3. Build image for backend
    cd backend
    docker build -t 1eshkin/wordcloud-backend:x.x.x .
  4. Push backend image to the Docker Hub
    docker push 1eshkin/wordcloud-backend:x.x.x

Deploy to Docker Swarm

  1. Copy docker-compose.yml to the wordcloud folder on remote server

  2. Deploy app to Docker Swarm

    cd wordcloud
    docker stack deploy --compose-file docker-compose.yml wordcloud

Autodeploy with GitHub Actions

Add and push a new tag

git push origin v1.0.0

wordcloud's People

Contributors

leshkin avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

artkovl

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.