Giter Site home page Giter Site logo

lighterpack's Introduction

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

lighterpack's People

Contributors

galenmaly avatar tcastberg avatar dperrymorrow avatar jacobemerick avatar gpanders avatar sir-marv avatar mrvdb avatar ericallenboll avatar darless avatar pahatlem avatar possibly avatar

Watchers

Nicolas Ritouet avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.