An awesome application for randomizing volunteers.
- Initial Machine Setup. Before anything else, be sure to complete the Initial Machine Setup.
- Clone the project.
git clone https://github.com/megatricycle/pickr.git. - Install Node packages.
npm install - Run the app.
npm start -s
This will run the automated build process, start up a browsersync server proxied to an Express API server, and open the application in your default browser. When doing development with this kit, you'll want to keep the command line open at all times so that your code is rebuilt and tests run automatically every time you hit save. Note: The -s flag is optional. It enables silent mode which suppresses unnecessary messages during the build.
##Initial Machine Setup
- Install Node 4.0.0 or greater
- Install Git.
- Install React developer tools and Redux Dev Tools in Chrome. (Optional, but helpful. The latter offers time-travel debugging.)
- Install sequelize/cli.
- On a Mac? You're all set. If you're on Linux or Windows, complete the steps for your OS below.
On Linux:
- Run this to increase the limit on the number of files Linux will watch. Here's why.
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
On Windows:
- Install Python 2.7. Some node modules may rely on node-gyp, which requires Python on Windows.
- Install C++ Compiler. Browser-sync requires a C++ compiler on Windows. Visual Studio Express comes bundled with a free C++ compiler. Or, if you already have Visual Studio installed: Open Visual Studio and go to File -> New -> Project -> Visual C++ -> Install Visual C++ Tools for Windows Desktop. The C++ compiler is used to compile browser-sync (and perhaps other Node modules).
- Take yourself out of this misery and install Linux instead.
This project was based from react-trebuchet. It was modified to proxy requests to an Express server.
Refer to overv.io.