Code Monkey home page Code Monkey logo

similarity-finder-service's Introduction

چگونه یک سرویس پردازشی ساده بسازیم؟

Big Picture

معرفی

این یک راهنما برای طراحی و توسعه‌ی یک سرویس پردازشی با زبان پایتون است. هدف این راهنمایی کمک به یادگیری مفاهیم مربوط به توسعه‌ی سرویس‌های وب است.

فرض‌ها

  1. فرض شده است که روی ماشین شما سیستم عامل دبیان یا بچه‌های(برای مثال اوبونتو) آن نصب است.
  2. در صورتی که سیستم عامل شما دبیان است فرض شده است که نسخه دبیان stable با کرنل لینوکس amd-64 روی ماشین شما نصب است.
  3. در صورتی که سیستم عامل شما اوبونتو می‌باشد لطفا از نسخه 16.04 و به بعد آن با معماری amd-64 استفاده کنید.

فهرست

  1. نصب و راه اندازی Python3
  2. ساختن Virtual Environment
  3. نصب Flask و بقیه Packageهای مورد نیاز
  4. معرفی سرویس هش رشته‌های حرفی(SimilarityFinder)
  5. طراحی سرویس SimilarityFinder
  6. پیاده سازی سرویس‌ SimilarityFinder
  7. تست سرویس SimilarityFinder

نصب و راه اندازی Python3

می‌توانید با اجرای دستور‌های زیر در Terminal پایتون ۳ و IDE آن بنام IDLE را نصب کنید.

sudo apt-get install -y python3-pip idle3 bpython3 python3-virtualenv

IDLE3

ساختن Virtual Environment

با اجرای دستور زیر درون Terminal یک Python Virtual Environment بسازید.

virtualenv -p python3 venv # venv is the folder where VE is located in

شما می‌توانید با اجرای این دستور در وارد محیط Virtual Environment ای که ساخته اید شوید.

source ./venv/bin/activate

VENV

نصب Flask و بقیه Packageهای مورد نیاز

برای نصب بقیه Package های پایتونی که برای کار ما لازم هستند دستور زیر را در Terminal مربوط به Virtual Environment ای که ساخته اید اجرا کنید.

pip install -U -r requirements.txt

REQUIREMENTS

معرفی سرویس هش رشته‌های حرفی(SimilarityFinder)

طراحی سرویس SimilarityFinder

پیاده سازی سرویس‌ SimilarityFinder

تست سرویس SimilarityFinder

similarity-finder-service's People

Contributors

habedi avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.