Coder Social home page Coder Social logo

backend_project_v1's Introduction

backend_project_v1

instructions to get running

  • Install python 2.7
  • Install pip (looks like this ships with python now)
  • Download and install mySQL server (FYI - I have my root user setup with the password: "password". This is reflected in the settings.py file as 'root:password' where SQLAlchemy binds to the database. If you have a different user/password combination then be sure to update the information in the settings.py file)
  • Start MySQL server on windows or linux / mac
  • Use pip to install pipenv (pip install pipenv)
  • Pull a copy of the project from this repository
  • Whilst still in cmd prompt | terminal and the new directory (set or export dependent on environment):
    1. set | export FLASK_APP=autoapp
    2. set | export FLASK_ENV=development
    3. set | export FLASK_DEBUG=1 (*only if you would like pretty JSON returned)
    4. pipenv install
    5. pipenv run flask run (BEWARE if you are binding to an existing MySQL instance this will try to create an instance of the "CRM" database, also a warning will be generated about utf8 as an alias but you shouldn't be concerned)
  • test.py can be run to validate that everything is working as expected
  • expected results are shown in the test_results.txt file in this repository

backend_project_v1's People

Contributors

mattseddon 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.