Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 1.08 KB

File metadata and controls

40 lines (29 loc) · 1.08 KB

The Pineapple Project

The Pineapple Project is an open source argiculture recommendation system.

Setting Up for Local Development

###Prerequisites To build The Pineapple Project locally you'll need

Then follow these instructions

  1. Clone the repo

  2. Create a virtual environment in the new directory

    virtualenv venv --distrubute   
    
  3. Activate the virtual environment

     #bash
     source venv/bin/activate
     
     #powershell
     . ./venv/Scripts/activate.ps1
    
  4. Install the requirements

     pip install -r requirements.txt
    
  5. Set environment variables

     # bash
     export DJANGO_SECRET_KEY=YourLocalSecretKey
     
     # powershell
     $Env:DJANGO_SECRET_KEY = "YourLocalSecretKey"
    
  6. Run the development server

     #bash
     python manage.py runserver --settings=ThePineappleProject.settings.local