Skip to content

This project. i dont know :3 | Stack | Flask - PostgreSql - Templates

Notifications You must be signed in to change notification settings

Savecoders/WebCrowdFunding

Repository files navigation

Init Project

Page Preview

Specification

In Powersheel execute the command:

Set-ExecutionPolicy RemoteSigned -Scope CurrentUser ​

please execute next commands in powersheel

Install Dependencies

Developer Folder

cd C:\Users\nameUser\Documents\ 
mkdir Developer 
cd Developer

clone repository

git clone https://github.com/Savecoders/WebCrowdFunding.git
cd WebCrowdFunding

Config git user

git config --global user.name "username"
git config --global user.email "email@gmail.com"

please using your username and email from github

Note

It's the most important step from execute this project

Create Virtual Environment

py -m venv venv.

Activate Virtual Environment

.\venv\Scripts\activate

update pip

python.exe -m pip install --upgrade pip

Dependencies Environment

pip install -r requirements.txt

Environment Variables

Important

You necesary replace the .env.template -> .env

SECRET_KEY='secret'
DATABASE_HOST='localhost'
DATABASE_PASSWORD='password'
DATABASE_USER='user'
DATABASE_PORT=1521

Run Project in normal mode

py app.py

or

python app.py

or

set FLASK_APP=app.py 
set FLASK_ENV=development 
flask run
python3 -m flask run

Open Browser

http://localhost:5000/

Push and pull changes

git pull --set-upstream origin main
git push --set-upstream origin main

About

This project. i dont know :3 | Stack | Flask - PostgreSql - Templates

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published