Нет описания

Lee Morgan 2ce49a4c99 Update dev run script in package.json 5 лет назад
controllers e088584586 Bug fixes 6 лет назад
models 59eb198c6d Waiting on info from Square 6 лет назад
views 9aba295b0f Fix one small bug in transaction details 6 лет назад
.gitignore 4590f0cdf0 Re-add on new computer 6 лет назад
README.md 4590f0cdf0 Re-add on new computer 6 лет назад
app.js 26960bcd0f Things and stuff 6 лет назад
package-lock.json fbe7db53cd untinyify 6 лет назад
package.json 2ce49a4c99 Update dev run script in package.json 5 лет назад
routes.js 03450e33f5 Build backend for updating square user's recipes. There is still a bug where they don't match up with the local merchants recipes because I am comparing the wrong ids. I need to populate the merchants recipes. 6 лет назад

README.md

Subline Inventory Management

Subline Inventory Management is a system for companies to track, update and manage their inventory in real time. It is also a tool for gathering and analyzing data on inventory in order to better manage future costs and reduce food waste for restaurants.

Getting Started

  1. Install MongoDB https://docs.mongodb.com/manual/installation/

  2. Ensure node is installed. Install if not. Version 10 or higher. $ node --version https://nodejs.org/en/

  3. $ git clone https://github.com/The-Subline/Inventory-Management.git

  4. $ npm install

  5. $ npm install -g nodemon (only if you are developing or adding code)

  6. Create two environment variables: export PORT="8080" export SUBLINE="mongodb://localhost/InventoryManagement"

    Mac/Linux Instructions:

    1. Open '.bashrc' or .bash_profile' from the home directory
    2. Type the two variables at the bottom file
    3. Save file
    4. Close and re-open terminal

    Windows Instructions: https://ubuntu.com/download/desktop

  7. $ sudo service mongod start

  8. $ nodemon app.js (if developing) $ node app.js (to view)

  9. Open a browser and go to 'localhost:8000'