Site to catalog multicopter builds.
rcbuild.info can be run locally for easier testing of code.
It has two external dependencies: elasticsearch and github. Elasticsearch installation instructions are here and GitHub's API is mimicked by local-github whose installation instructions are here.
Python dependencies are installed within a virtual environment. Start the environment with sh bin/activate
from within the virtual env directory. Then do pip install -r requirements.txt
. Later, run application.py from this terminal which has the virtual environment set.
Most Javascript dependencies are managed by npm. npm is available here. Once installed it is suggested to install grunt-cli globally with npm -g grunt-cli
. Finally the rest of the dependencies can be installed within the directory with npm install
.
To get rcbuild.info going run steps 3-6 in separate tabs. Once running it will be here.
- Update
development.env
so thatLOCAL_GITHUB_REPO_DIRECTORY
points to the correct location. source development.env
elasticsearch --http.cors.enabled=true
- Runs on port 9200 by default.node local-github.js
- Runs on port 6178 by default.init-rcbuild.sh
- Optional after the first time.grunt watch
python2 application.py
- Runs on port 5000 by default.