/Flask-user-system

User register and login system project

Primary LanguagePython

Flask-user-system

Flask user register and login system

How to Build?

You have two option, short way, use docker. Long way;

Normal Way

  1. Create Mysql docker container (If you have MySQL service, skip this step);
docker run --name flask-mysql-service -e MYSQL_ROOT_PASSWORD=test_password -d mysql:latest --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
  1. Create virtualenv and install requirements;
virtualenv -p python3.6 venv
source venv/bin/activate
pip install -r requirements.txt
  1. Change env.example name to .env and fill in the content appropriately.
  2. The code that will create the database;
python db.conf.py
python dummy_processes.py
python setup.py

Look at the "http://localhost:4000"

Docker way

docker-compose up
# If you want to install dummy data
docker exec -d flask-core-system python3 dummy_processes.py

Thats all, you can look at the "http://localhost:8000" :)


Test usernames and passwords:

  • Sezer test123
  • Barış 123test!.
  • BengiSu 123test123
  • Ayça 123test123