Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
Aaron James Young 92cb48fdd7 Add field 1 год назад
assets Add admin area 2 лет назад
lib Add admin area 2 лет назад
views Add field 1 год назад
.gitignore Generate a local PDF instead of creating it on the fly (for IE) 9 лет назад
Gruntfile.js Updates for everything 2 лет назад
README.markdown Changes for production 9 лет назад
app.js Add admin area 2 лет назад
bower.json Many updates :) - bills can be printed, archived, added / edited, user functionality, etc. 9 лет назад
nodemon.json Tidied up the pdf a bit and increased font size for phone numbers 8 лет назад
package-lock.json Updates for everything 2 лет назад
package.json Updates for everything 2 лет назад
tags Fix bug with exp service on adding new bill; also exp service should be false by default 7 лет назад

README.markdown

Prestige Movers - Bill of Lading application

Setup and Install

  • Clone the git repository and cd to its directory
  • npm install && bower install - grab a coffee
  • Get a copy of the database and set it up.
  • Edit lib/mysql_config.js.sample as needed and rename to mysql_config.js
  • while in the project directory, run node app.js
  • Fire up http://localhost:3000 in your web browser
  • For now the app runs on port 3000. I think we can just switch it to port 80 for production (in app.js). If needed we could proxy it through nginx on port 80 but I’m not sure if there will be a good reason to do that with this app (since the server won’t be running other services too).

Dev with grunt

Grunt is here for development-related tasks (not needed in production). Currently it only compiles sass and autoprefixes CSS. TODO: Make it concatenate and minify script files too! To use it, you’ll need to install grunt system-wide:

  • sudo npm install -g grunt-cli

To run it, do this from project directory:

  • grunt watch will watch for your sass changes and run the two below tasks automatically
  • grunt sass will compile your sass on-demand
  • grunt autoprefixer will autoprefix your css on-demand