platform for gathering, visualization and sharing of environmental data
AirCasting API and web application
This is the AirCasting project - the project aims to build a platform for gathering, visualization and sharing of environmental data. To learn more about the platform visit aircasting.habitatmap.org.
SERVER=aircasting.habitatmap.org BRANCH=master bundle exec cap server deploy
rvm use # if using rvm
ruby -v # should print the same version as in .ruby-version
nvm use # if using nvm
node -v # should print the same version as in .nvmrc
# Start mysql
bin/setup
Go to https://bitly.com/ create an account and log in. To generate the token go to Settings -> Advanced settings -> For Developers -> OAuth -> Generic Access Token.
rvm use
nvm use
# make sure redis is running (brew info redis)
foreman start
open http://localhost:5000/mobile_map
If foreman
does not work, start the single processes manually: ./Procfile
.
RAILS_ENV=test bin/rails db:create db:migrate
bin/rspec
yarn test
yarn elm-test app/javascript/elm/tests
Check:
yarn run elm-format --validate app/javascript/elm
yarn prettier --check "**/*.{scss,js,rb}"
Update:
yarn run elm-format app/javascript/elm
yarn prettier --write app/assets/stylesheets/path/to/your/file.scss
yarn prettier --write app/javascript/path/to/your/file.js
yarn prettier --write app/path/to/your/file.rb
Best to add elm-format and prettier to your editor to do this for you on save.
Read more [here](doc/api.md).
If you'd like to contribute just use the usual github process - fork, make changes, issue a pull request.
You can contact the authors by email at [email protected].
AirCasting uses The YourKit Java Profiler for Performance Tuning
YourKit is kindly supporting open source projects with its full-featured Java Profiler. YourKit, LLC is the creator of innovative and intelligent tools for profiling Java and .NET applications. Take a look at YourKit's leading software products: YourKit Java Profiler and YourKit .NET Profiler.
The project is licensed under the GNU Affero GPLv3. For more information see COPYING and visit http://www.gnu.org/licenses/agpl.html.