Getting Started
Welcome to the Ablepro Flask, your go-to foundation for building powerful web applications with Flask, HTML5, and Bootstrap 5.*. This guide will walk you through the steps to set up and start us.
Prerequisites
Code Editor of your choice
Before you begin, make sure you have the following installed on your machine:
Build Assets
Before running the application we need to build theme assets:
Open your project to vs code
Start a command prompt window or terminal and change directory to Admin/
Install packages using one of following commands
This command will fetch all dependencies listed in /package.json
and place them into/node_modules
folder.
Install Python
Flask is a Python web framework. See What Python version can I use with Flask? for details.
Get the latest version of Python at https://www.python.org/downloads/ or with your operating system’s package manager.
Download the executable installer and run it.
After installation, open the command prompt and check that the Python version matches the version you installed by executing:
Check Pip Version
Upgrade Pip
Virtualenv
Make sure to have the virtualenv
installed globally & running on your computer. You can skip this step if you have already installed it on your computer.
Virtualenv installation command for Linux & mac os
Virtualenv installation command for Windows
Create a virtual environment for our project. It's always recommended to create separate virtual environments for each project
Activate Virtual Environment on Windows
Activate Virtual Environment on mac OS
Note : Depending on your installation, you may need to use either pip3 or pip and for python you may need to use either python3 or python.
Flask And Other Dependencies
Run below command for run your project
Last updated