Gallium is a GUI Application for running Tesla Works Light Show Events.
Directory structure:
└── app
├── config
├── css
├── html
├── js
└── img
└── test
app/
houses the app and all the files needed.app/config
contains config files.app/css
contains CSS files that are used in Gallium.app/html
contains HTML files that are used in Gallium.app/js
contains JavaScript files that are used in Gallium.app/img
contains image files that are used in Gallium.test/
contains the test suite for Gallium.
We are supporting Node.js version 10.16.3. Installing via your operating system's package manager is an easy way to make sure it is set up correctly. Simply paste the command line options into the terminal and Node.js will be installed. Otherwise you can download the installer and set it up that way.
- Run
npm install --global --production windows-build-tools
from an elevated Powershell or CMD.exe (run as Administrator). Note that this step will take a while so be sure to give it some time to finish. Even though the command will stop outputing information, it still is working.
- XCode command line tools must be installed for most commands to work. If you don't already have XCode installed, either install the latest version of XCode from the app store or run
xcode-select --install
if you only want to install the XCode command line tools. Note that this step may take a while so be sure to give it some time to finish.
Only run these steps after you have completed the pre-requisite steps.
- Change directory to the repo root directory (
lightshow-Gallium/
) - Run
npm install
to install npm dependencies - Run
node setupRepo.js
to initialize certain directories and files
- Run
npm start
NOTE: If you get an error that looks like error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory
while running npm start
, you will have to install this shared library. This is fixed with sudo apt-get install libgconf-2-4
.
- Change directory to the repo root directory (
lightshow-Gallium/
) - Run
npm install
- Run
node setupRepo.js
- Run
npm run-script package
NOTE: If you are on Mac or Linux, you will need Wine installed to package a Windows Build.
npm start
- Start an instance of the developer buildnpm run-script lint
- Lint the codenpm run-script lint-fix
- Automatically fix common linting errorsnpm run-script pack
- Generates the package directory without really packaging itnpm run-script build
- Package app in a distributable format for the current OSnpm run-script buildall
- Package app in a distributable format for Windows, MacOS, and Linuxnpm run-script buildosx
- Package app in a distributable format for MacOSnpm run-script buildwin
- Package app in a distributable format for Windowsnpm run-script buildlinux
- Package app in a distributable format for Linuxnpm run-script test
- Run the test suite contained intest/
We are using a modified version of the Airbnb JavaScript Style Guide. One major change from the Airbnb guide is that we are using 4 space indents instead of 2. Run npm run-script lint
to lint our code and npm run-script lint-fix
to fix common errors. Some errors might need to be fixed manually.
- Byron Ambright
- Joshua Guldberg
- Nick Schatz
- Julie Weber
- Kayla Engelstad
- Alex Pelletier
- Bengt Symstad
- David Ma
- Alex Pelletier
- Ashmita Sarma
- Bengt Symstad
- Chris Walaszek
- Ryan Fredlund
- David Hwang
- Zeb Zimmer
- Mitali Naigaonkar
- Zachary Guldberg
- Brooke Bear
- Jack Struck
- Soumya Khandelwal
- Jasjit Kaur A Singh
- Jimena Jimenez
This project is licensed under the MIT License - see the LICENSE.md file for details