GithubHelp home page GithubHelp logo

sam7933715 / w210-capstone-new Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 490.8 MB

Jupyter Notebook 65.61% Python 0.51% Makefile 0.01% HTML 27.03% CSS 5.51% Dockerfile 0.01% JavaScript 0.65% SCSS 0.68% Shell 0.01%

w210-capstone-new's Introduction

Trip Planner Developer Docs

Virtual Environment Notes: Poetry is used to manage dependencies. The expectation is that people will create a Python virtual environment with pyenv and then run some poetry commands to install packages into the virtual environment. For instance, if things are set up correctly, developers can run pyenv exec poetry shell and then poetry install in their terminal and all project dependencies will be installed.

Bayard Venv Steps Taken for Install:

  1. Install the correct python version in pyenv.
pyenv install 3.9.13
  1. Create Python virtual Environment
pyenv virtualenv 3.9.13 model_planner

Note: The venv is named model_planner. Your terminal will return a path where the folder is. Save this path. Mine is in: /Users/charlescarlson/.pyenv/versions/3.9.13/envs/model_planner

If you don't have the path save or are confused. Run:

pyenv versions

This will return the versions of python you have installed and return the path of your active pyenv.

  1. Activite the correct python env: I ran:
source /Users/charlescarlson/.pyenv/versions/3.9.13/envs/model_planner/bin/activate

You need the path to your own pyenv. source is a linux/mac command. I think that in Windows you need to adjust your path variables. This step specifically just to set the python version in terminal, which any OS can do.

  1. Poetry automatically uses the local pyenv.
poetry install

Gets all current dependecies.

  1. If that's not working, or if you just want to use the venv more generally, start a shell from it with one of the following commands.
pyenv exec <command>

often the command is

poetry shell

w210-capstone-new's People

Contributors

cbaycity avatar sam7933715 avatar arridani avatar bruce-lam avatar hoonkim29 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.