GithubHelp home page GithubHelp logo

jruiz98 / search-engine-web-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from irwa-labs/search-engine-web-app

0.0 0.0 0.0 153 KB

IRWA Search Engine

License: Apache License 2.0

Python 56.97% CSS 4.45% HTML 38.58%

search-engine-web-app's Introduction

Search Engine with Web Analytics - skeleton project

IRWA Final Project

This projects contains the startup Flask files for developing a web application.

To download this repo locally

Open a terminal console and execute:

cd <your preferred projects root directory>

git clone https://github.com/irwa-labs/search-engine-web-app.git

Starting the Web App

python -V
# Make sure we use Python 3

cd search-engine-web-app
python web_app.py

The above will start a web server with the application:

 * Serving Flask app 'web-app' (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: off
 * Running on http://127.0.0.1:8088/ (Press CTRL+C to quit)

Open Web app in your Browser:
http://127.0.0.1:8088/ or http://localhost:8088/

Virtualenv for the project (first time use)

Install virtualenv

Having different version of libraries for different projects.
Solves the elevated privilege issue as virtualenv allows you to install with user permission.

In the project root directory execute:

pip3 install virtualenv
virtualenv --version

virtualenv 20.10.0

Prepare virtualenv for the project

In the root of the project folder run:

virtualenv .

If you list the contents of the project root directory, you will see that it has created several sub-directories, including a bin folder (Scripts on Windows) that contains copies of both Python and pip. Also, a lib folder will be created by this action.

The next step is to activate your new virtualenv for the project:

source bin/activate

or for Windows...

myvenv\Scripts\activate.bat

This will load the python virtualenv for the project.

Installing Flask and other packages in your virtualenv

pip install Flask pandas nltk faker

Enjoy!

Git Help

After creating the project and code in local computer...

  1. Login to GitHub and create a new repo.
  2. Go to the root page of your new repo and note the url from the browser.
  3. Execute the following locally.
cd <project root folder>
git init -b main
git add . && git commit -m "initial commit"
git remote add origin <your GitHub repo URL from the browser>
git push -u origin main

search-engine-web-app's People

Contributors

irwa-labs 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.