Skip to content

googol42/lighterpack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LighterPack

LighterPack is a website to track the gear you take on adventures. It is still in Beta.

LighterPack is built on a node.js/jQuery/vanillaJS/mongo stack.

How to run Lighterpack

  1. Install node.js, npm and mongo
  2. $ git clone https://github.com/galenmaly/lighterpack.git
  3. Create a config.js and extIds.txt based on the wiki: https://github.com/galenmaly/lighterpack/wiki/Config-files
  4. Install dependancies $ npm install
  5. start mongo $ mongod
  6. Start app $ node app.js
  7. go to http://localhost:3000

Running with Vagrant

  1. Install Vagrant and VirtualBox
  2. Download Vagrantfile and node-bootstrap.sh from vagrant folder to a folder on your local machine
  3. Run $ vagrant up in the folder where you downloaded the two files.
  4. Create a config.js and extIds.txt in /var/www/lighterpack based on the wiki: https://github.com/galenmaly/lighterpack/wiki/Config-files
  5. Install dependencies $ sudo npm install
  6. Start app $ nodejs app.js

You can then ssh to the machine on port 2222 or open a web browser to http://localhost:8080.

Running with Docker

  1. Install docker
  2. sudo docker run --name lighterpack-run --privileged=true -p 8080:3000 madrussian/lighterpack

Web

Go to http://localhost:8080

Shell Access

sudo docker exec -it lighterpack-run /bin/bash

Stop

  1. sudo docker stop lighterpack-run
  2. sudo docker rm lighterpack-run

NOTE: The docker rm is done so that a future run can use the same name.

Future non-feature initiatives

  • Migrate to postgres document store from mongo
  • Split up LESS files into more logical files (using LESS imports to keep the same # of .css files)
  • Split up edit.js somehow + setup a build step to concat files back together

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 58.2%
  • CSS 26.1%
  • HTML 15.1%
  • Other 0.6%