Skip to content

Agriworks/agriworks_platform

Repository files navigation

Agriworks Backend

Run & Develop

  1. Install Docker https://www.docker.com/products/docker-desktop
  2. Clone this repo and the portal (frontend) repo https://github.com/Hack4Impact-Boston-University/agriworks_portal within a parent directory.
  3. Request the credentials file from a fellow developer and place it in the platform root directory.
  4. Run the command docker-compose up in either repo.

Build & Deploy

  1. Push to the master branch in either repository.

Old Develop Instructions:

To run the application, first follow the steps below to setup the project on your local machine.

  1. Verify that you have python3 installed on your machine. If not, install it.
  2. Clone this project to your local machine.
  3. Create a virtual environment for this project using python3 -m venv env inside the directory
  4. Activate the virtual environment using the command source env/bin/activate
  5. Install our current dependencies using the command pip install -r requirements.txt
  6. (Unix) Navigate to the directory of your project and run the command chmod u+x start.sh. (Windows) Execute setEnvVars.bat.

6.(Unix) Execute ./start.sh to start the application. (Windows) Execute the command flask run to start the application.

Navigate to http://localhost:4000/api/admin/. If you see a JSON response stating that Agriworks is running, you have successfully setup the project correctly.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages