Skip to content

Xeftax/Smile-app

Repository files navigation

Prerequisite

  • You must have Python 3 installed.

  • Open a Terminal (Linux and macOS) or Command Prompt (Windows).

  • Know the Python command. It can be "python", "python3", or "py". You can check by executing "python --version", "python3 --version", or "py --version".

Build (with a virtual venv)

  • Create an environment:

    python -m venv venv
    
  • Activate the environment (Linux and macOS):

    source venv/bin/activate
    
  • Activate the environment (Windows):

    venv\Scripts\activate.ps1
    
    Note: '(venv)' will appear in the header of the command line.
    Error: If you have an error because script execution is disabled, you can try this:
    Get-ExecutionPolicy
    If the current policy is set to 'Restricted', update it to 'RemoteSigned':
    Set-ExecutionPolicy RemoteSigned

    https://learn.microsoft.com/fr-fr/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7.3

  • Install all requirements:

    	pip install -r requirements.txt
    
    Note: If 'pip' is not recognized, you can write 'python -m pip' instead.

Run

  • Execute the main.py file in the virtual environment:
    python main.py
    

Troubleshooting

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages