Giter VIP home page Giter VIP logo

movie-app's Introduction

What is this

Test sample application must:

  • Allow to download the data (in .csv)! (DONE YET!)
  • Show in browser index /w the chart.
  • Allow to upload the data in robust way!

Running the Flask Application

To run the Flask application, follow these steps:

Set the Flask app environment variable:

export FLASK_APP=app.py

Start the Flask development server:

flask run

Open a web browser and navigate to http://localhost:5000 to access the application.

Running Pytest

To run Pytest and execute the tests for the Flask application, follow these steps:

Ensure you have installed the project dependencies as mentioned in the setup section.

Make sure you are in the project directory.

Run the Pytest command: pytest Pytest will automatically discover the tests located in the project directory and its subdirectories and execute them.

To create a SQLite database, you can follow these steps:

Open a terminal window. You can find the Terminal application in the Utilities folder within the Applications folder. Navigate to the directory where you want to create the SQLite database file. For example, if you want to create the database file in your home directory, use the following command:

cd ~

Launch the SQLite shell by running the following command:

sqlite3 database.db

Replace database.db with the name you want to give to your SQLite database file. This command will create a new SQLite database file with the specified name in the current directory.

Once you run the command, you will enter the SQLite shell prompt, indicated by sqlite>.

movie-app's People

Contributors

milos-korenciak avatar zawich 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.