A tool to help plan vacations with friends and family

Overview

Vacationer

In Development

A tool to help plan vacations with friends and family

Deployment Requirements:

NPM
Docker
Docker-Compose

Deployment Instructions:

  1. Download repository:

    git clone [email protected]:johnjkenny/Vacationer.git
    cd Vacationer
    git submodule init
    git submodule update
    
  2. Create an environment file in Vacationer directory. Use the following as an example:

    cat >> .env << EOF
    FLASK_APP=vacationer-app.py
    FLASK_ENV=development
    FLASK_SECRET=
    APP_AUTO_RELOAD=True
    FLASK_HOST=localhost
    FLASK_PORT=5000
    APP_DEBUG=True
    DB_HOST=db
    DB_USER=root
    DB_PASS=
    DB=vacationer
    EOF

    Use your own passwords for FLASK_SECRET and DB_PASS. Please make sure DB_PASS matches MYSQL_ROOT_PASSWORD in docker-compose.yml.

  3. Update docker-compose.yml file to set MYSQL_ROOT_PASSWORD password as the same as DB_PASS variable in .env

  4. Build and run dev docker containers:
    docker-compose up --build

  5. Output will display running address for web application:
    web_1 | * Running on http://172.20.0.2:5000/ (Press CTRL+C to quit)
    Use address 172.20.0.2:5000/ to view application in web browser from above example.

Known Limitations

When a new user is created, an email is sent to the user with a verification code. At this time, this tool does not have email functionality and the user cannot login with their new credentials until they have verified their email address. Until a mail server container is created, please run the following commands manually to obtain verification code:

  1. Connect to mysql docker container:
    docker exec -ti vacationer_db_1 mysql -u root -p
    Enter DB_PASS or MYSQL_ROOT_PASSWORD password when prompted.

  2. Run query command for verification code:
    select vcode from vacationer.pend_users where uname=" ";

    Example output:

    mysql> select vcode from vacationer.pend_users where uname="awesomeOh5000";
    +--------+
    | vcode  |
    +--------+
    | 170391 |
    +--------+
    1 row in set (0.00 sec)
  3. Use the vcode output as the Verification Key to validate your email address when prompted.

  4. Login with the credentials you created.

You might also like...
A simple bot that will help you in your learning and make it more fun.

hyperskill-SimpleChattyBot-python A simple bot that will help you in your learning and make it more fun. Syntax bot.py Stages Stage #1: Zuhura Bot we

Dicionario-git-github - Dictionary created to help train new users of Git and GitHub applications
Dicionario-git-github - Dictionary created to help train new users of Git and GitHub applications

Dicionário 📕 Dicionário criado com o objetivo de auxiliar no treinamento de nov

 WhyNotWin11 - Detection Script to help identify why your PC isn't Windows 11 Release Ready
WhyNotWin11 - Detection Script to help identify why your PC isn't Windows 11 Release Ready

WhyNotWin11 - Detection Script to help identify why your PC isn't Windows 11 Release Ready

This is a vscode extension with a Virtual Assistant that you can play with when you are bored or you need help..

VS Code Virtual Assistant This is a vscode extension with a Virtual Assistant that you can play with when you are bored or you need help. Its currentl

A collection of python exercises to help your learning path!

How to use Step 1: run this command git clone https://github.com/TechPenguineer/Python-Exercises.git Step 2: Run this command cd Python-Exercises You

The only purpose of a byte-sized application is to help you create .desktop entry files for downloaded applications.
The only purpose of a byte-sized application is to help you create .desktop entry files for downloaded applications.

Turtle 🐢 The only purpose of a byte-sized application is to help you create .desktop entry files for downloaded applications. As of usual with elemen

little proyect to organize myself, but maybe can help someone else

TaskXT 0.1 Little proyect to organize myself, but maybe can help someone else Idea The main idea is to ogranize you work and stuff to do, but with onl

An app to help people apply for admissions on schools/hostels

Admission-helper About An app to help people apply for admissions on schools/hostels This app is a rewrite of Admission-helper-beta-v5.8.9 and I impor

This repository can help you made a PocketMine-MP Server with Termux apps!

Hello This GitHub repository can made you a Server PocketMine-MP On development! How to Install Open Termux Type "pkg install git && python" If python

Owner
JK
I create tools
JK
Its a simple and fun to use application. You can make your own quizes and send the lik of the quiz to your friends.

Quiz Application Its a simple and fun to use application. You can make your own quizes and send the lik of the quiz to your friends. When they would a

Atharva Parkhe 1 Feb 23, 2022
Covid-19-Trends - A project that me and my friends created as the CSC110 Final Project at UofT

Covid-19-Trends Introduction The COVID-19 pandemic has caused severe financial s

null 1 Jan 7, 2022
A repo to record how I prepare my Interview, and really hope it can help you as well. Really appreciate Kieran's help in the pattern's part.

Project Overview The purpose of this repo is to help others to find solutions and explaintion I will commit a solution and explanation to every proble

Vincent Zhenhao ZHAO 1 Nov 29, 2021
This tool for beginner and help those people they gather information about Email Header Analysis, Instagram Information, Instagram Username Check, Ip Information, Phone Number Information, Port Scan

This tool for beginner and help those people they gather information about Email Header Analysis, Instagram Information, Instagram Username Check, Ip Information, Phone Number Information, Port Scan. This tool shows your hostname and public IP first, then user give input and according to option this tool work. This tool work diffrent Oprating system.

cb-kali 5 Feb 18, 2022
A tool to help you to do the monthly reading requirements

Monthly Reading Requirement Auto ⚙️ A tool to help you do the monthly reading requirements Important ⚠️ Some words can't be translated Links: Synonym

Julian Jauk 2 Oct 31, 2021
A tool to help calculate how to split conveyors in Satisfactory into specific ratios.

Satisfactory Splitter Calculator A tool to help calculate how to split conveyors in Satisfactory into specific ratios. Dependencies Python 3.9 PyYAML

RobotiCat 5 Dec 22, 2022
A tool to help the Poly copy-reading process! :D

PolyBot A tool to help the Poly copy-reading process! :D Let's face it-computers are better are repeatitive tasks. And, in spite of what one may want

null 1 Jan 10, 2022
A tool to flash .ofp files in bootloader mode without needing MSM Tool, an alternative to official realme tool

Oppo/Realme Flash .OFP File on Bootloader A tool to flash .ofp files in bootloader mode without needing MSM Tool, an alternative to official realme to

Italo Almeida 70 Jan 2, 2023
💻 Algo-Phantoms-Backend is an Application that provides pathways and quizzes along with a code editor to help you towards your DSA journey.📰🔥 This repository contains the REST APIs of the application.✨

Algo-Phantom-Backend ?? Algo-Phantoms-Backend is an Application that provides pathways and quizzes along with a code editor to help you towards your D

Algo Phantoms 44 Nov 15, 2022
Scitizen - Help scientific research for the benefit of mankind and humanity 🔬

Scitizen - Help scientific research for the benefit of mankind and humanity ?? Scitizen has been built from the ground up to give everyone the possibi

Pierre CORBEL 21 Mar 8, 2022