- 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):
- set | export FLASK_APP=autoapp
- set | export FLASK_ENV=development
- set | export FLASK_DEBUG=1 (*only if you would like pretty JSON returned)
- pipenv install
- 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 Introduction
backend_project_v1's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.