Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rrrnld/bouquet
https://github.com/rrrnld/bouquet
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/rrrnld/bouquet
- Owner: rrrnld
- Created: 2016-11-09T13:51:14.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-03T10:48:09.000Z (almost 8 years ago)
- Last Synced: 2024-11-06T06:42:50.585Z (3 months ago)
- Language: JavaScript
- Size: 11.8 MB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ✈️ bouquet
Something nice, but dinner isn't served yet 🍳
## Installation
In order to install, after cloning this source, make sure you have all [dependencies](#dependencies) installed and setup. Then follow these steps in order:
```
$ cd $THIS_PROJECT
$ # install all server-side dependencies
$ npm install
$ # after finishing the server-side dependencies, take care of the client
$ cd public
$ # install client-side dependencies
$ npm install
$ # build client-side assets
$ npm run build
$ # after it's done, back to the server
$ cd ..
$ # start the server and that's it
$ node index.js
```The `worker.js` needs to be triggered regularly (e.g. daily) in order to provide its functionality.
## Dependencies:
```
$ # Dependencies are managed using homebrew on macOS
$ brew info node
node: stable 7.0.0 (bottled), HEAD
$ brew info mongo
mongodb: stable 3.2.10 (bottled)
$ brew info redis
redis: stable 3.2.5 (bottled), HEAD
$ # Don't forget to npm install
```## Development
There are some npm scripts to help you:
```
$ # Start a development server which reloads when *.js files change
$ npm run dev
$ # Start a long running, non-reloading server for production
$ npm start
$ # To get detailed debug output
$ DEBUG=bouquet:* npm run dev
```If you want to work on the frontend (**important:** you have to build it at least once!):
```
$ cd public
$ # There are other dependencies for the frontend, ensure to install them as well
$ npm install
$ # Build and watch the vuejs app (with hot module replacement)
$ npm run dev
$ # ... or build the vuejs app once
$ npm run build
```