Skip to content

Latest commit

 

History

History
58 lines (41 loc) · 2.23 KB

README.md

File metadata and controls

58 lines (41 loc) · 2.23 KB

Financial & Macroeconomics Analysis Platform

Python Version Django Version Bootsrap Version

The_Analysis_Platform

This Project is named analysis_platform and has for the start 4 apps:

  1. accounts: containing relevant signup, login and account views and a custom user model.
  2. macroeconomics: containing the views and relevant urls for the macroeconomic charts on GDP ,population, GDP per capita and inflation.
  3. financials: containing the views and relevant urls for the financial analysis charts on SCOM data.
  4. payments: containing the business logic for payment integration with Stripe and mobile money (currently supporting only MPESA).

Demo

You can view the demo here.

View the deployed site on Digital Ocean here.

Running the Project Locally

First, clone the repository to your local machine:

git clone [email protected]:am-derrick/F_n_M-Platform.git

Install the requirements:

pip install -r requirements.txt

Setup the local configurations: The example involved assumes your environmental variables are saved in the .env.example file. Transfer them to a file named .env. You'll need 5 keys;

  • STRIPE_PUBLIC_KEY - can be found on your Stripe Dashboard.
  • STRIPE_SECRET_KEY- can be found on your Stripe Dashboard.
  • SECRET_KEY - Djanago's production secret key.
  • MPESA_SECRET_KEY - can be found on your Safricom Developer Dashbaord when you create a new app.
  • MPESA_CONSUMER_KEY - can be found on your Safricom Developer Dashbaord.
cp .env.example .env

Create the database:

python manage.py migrate

Finally, run the development server:

python manage.py runserver

The project will be available at 127.0.0.1:8000.