Giter Site home page Giter Site logo

sms_serial_verification's Introduction

sms_verification

LICENSE Requirements Todo

This project is done for Altech (Schneider Electric Iran) as an educational series.

این پروژه ای است به سفارش آلتک (اشنایدر الکتریک ایران) برای سنجش صحت شماره سریال ها با پیامک. من پروژه رو ازشون قبول کردم به این شرط که همه مراحلش رو ضبط و منتشر کنم تا نمونه ای باشه از انجام یک پروژه واقعی توسط یک فری لنسر. در این پروژه از تکنولوژی های زیر استفاده می شه:
  • پایتون
  • فلسک
  • ای پی آی های دریافت و ارسال اسمس از درگاه پیامک کاوه نگار
  • پاس فندق
  • مای اسکوئل

کل ویدئوها رو می تونین از لینک های زیر ببینین.

Every single step of this project is screen captures and you can follow them On youtube or On Aparat.

How to run

  1. Install python3, pip3, virtualenv, MySQL in your system.
  2. Clone the project git clone https://github.com/jadijadi/sms_serial_verification && cd sms_serial_verification
  3. in the app folder, rename the config.py.sample to config.py and do proper changes.
  4. db configs are in config.py. Create the db and grant all access to the specified user with specified password.
  5. Create a virtualenv named venv using virtualenv -p python3 venv
  6. Connect to virtualenv using source venv/bin/activate
  7. From the project folder, install packages using pip install -r requirements.txt
  8. Now environment is ready. Run it by python app/main.py

Example of creating db and granting access:

Note: this is just a sample. You have to find your own systems commands.

CREATE DATABASE smsmysql;
USE smsmysql;
CREATE USER 'smsmysql'@'localhost' IDENTIFIED BY 'test' PASSWORD NEVER EXPIRE;
GRANT ALL PRIVILEGES ON smsmysql.* TO 'smsmysql'@'localhost';

sms_serial_verification's People

Contributors

aliazani avatar amirhossein2000 avatar arian8j2 avatar danialkeimasi avatar dependabot[bot] avatar edrisranjbar avatar fredrikblau avatar ghost1372 avatar greatbahram avatar hoomanist avatar i3130002 avatar itsmatinx avatar jadijadi avatar mhkarimi1383 avatar mohammadraufzahed avatar mohsenfn avatar mortezagk avatar parsampsh avatar qiisziilbash avatar rezaforoughieh avatar sadegh98 avatar saeeddiscovery avatar shahriarshm avatar smmousavisp avatar xebeer 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.