• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Rahul-Raviprasad/Library: A Library management system

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

Rahul-Raviprasad/Library

开源软件地址(OpenSource Url):

https://github.com/Rahul-Raviprasad/Library

开源编程语言(OpenSource Language):

JavaScript 82.5%

开源软件介绍(OpenSource Introduction):

Library

A Library management system

Prerequisites

Make sure you have installed all of the following prerequisites on your development machine:

$ npm install -g bower
  • Grunt - You're going to use the Grunt Task Runner to automate your development process. Make sure you've installed Node.js and npm first, then install grunt globally using npm:
$ npm install -g grunt-cli

Quick Install

The first thing you should do is install the Node.js dependencies.

To install Node.js dependencies you're going to use npm. In the application folder run this in the command-line:

$ npm install

This command does a few things:

  • First it will install the dependencies needed for the application to run.
  • If you're running in a development environment, it will then also install development dependencies needed for testing and running your application.
  • Finally, when the install process is over, npm will initiate a bower install command to install all the front-end modules needed for the application

Running Your Application

After the install process is over, you'll be able to run your application using Grunt, just run grunt default task:

$ grunt

Your application should run on port 3000 with the development environment configuration, so in your browser just go to http://localhost:3000

That's it! Your application should be running. To proceed with your development, check the other sections in this documentation. If you encounter any problems, try the Troubleshooting section.

  • explore config/env/development.js for development environment configuration options

Running in Production mode

To run your application with production environment configuration, execute grunt as follows:

$ grunt prod
  • explore config/env/production.js for production environment configuration options

Taking dumps and backups

Create a folder
mkdir /backup
Navigate and take dump of entire DB
cd /backup

mongodump --db mean-dev
Also export the important (currently) collections as JSON
mongoexport --db mean-dev --collection books --out books.json

mongoexport --db mean-dev --collection users --out users.json

Few more details

.bowerrc file is provided with configuration for bower in JSON format. Currently it is only setting installation directory to 'public/lib' and this directory is git ignored.

License

MIT




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
una/CSSgram: CSS library for Instagram filters发布时间:2022-08-15
下一篇:
Polymer/polymer-library-docs: Polymer library documentation site.发布时间:2022-08-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap