Git Product home page Git Product logo

learn-english's Introduction

how to install?

  1. clone from github and go to directory git clone https://github.com/yusufgurdogan/learn-english/ && cd learn-english

  2. install flask pip3 install flask

  3. run app python3 app.py app runs on port 1234. visit http://localhost:1234 from your browser.

  4. (from now on, it's optional) install nginx to use it with a domain name. apt-get install nginx

(Nginx kurulumu için Türkçe anlatım: https://yusufgurdogan.com/nginx-ile-web-sunucusu-kurulumu/)

  1. delete default nginx config and create your own config: rm /etc/nginx/sites-available/default && nano /etc/nginx/sites-available/default
  2. paste the following config to here:
server {
    listen 80;
    server_name example.com; # enter your own domain name
    # if you don't want to enter a domain name:
    # server_name _;
    location / {
        proxy_pass http://localhost:1234;
        proxy_set_header Host $host;
    }
}
  1. "CTRL+X" and "y" and press enter to save the file.
  2. (optional) Get https for the domain sudo add-apt-repository ppa:certbot/certbot sudo apt install -y python-certbot-nginx sudo certbot --nginx
  3. Enter your e-mail, enter 1 to accept the agreement, after that, you may enter N to reject getting notifications to your e-mail.
  4. Select your domain name, press enter. If everything is fine, you should be able to browse https://(yourdomainname).com

learn-english's People

Contributors

yusufgurdogan avatar

Watchers

 avatar  avatar

Forkers

peifu

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.