Skip to content

dlochrie/bula

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bulajs

Bula!

Bula means hello in Fijian. Bula!

Bula is a ready-made express-based application using MySQL. There is plenty more to come soon, but the idea is to have an installable application using MySQL, Redis, and Angular, complete with tests and docs. Hence, more to come.

Install

Quick Install

The following:

node bin/bula.js -a 'My Application' -p ~/Desktop

Gets you:

~/Desktop/my-application

So:

node bin/bula.js -a 'My Application' -p ~/Desktop
cd ~/Desktop/my-application
npm install
source ./config/variables.txt*
node app

...installs the app, its dependencies, and starts it.

*Make sure that you set up the environmental variables. See below for more information.

See https://github.com/dlochrie/bula/wiki/Installation for more details on installation.

Test

To run the bula tests:

// To be written.

To run the locally installed application's tests: (requires that create a test database)

npm test

Troubleshooting

Error: req.flash() requires sessions

If you get Error: req.flash() requires sessions, it most likely means that the server cannot connect to redis.

Releases

No releases published

Packages

No packages published