diff --git a/README.md b/README.md index 41825cc9..9a75aef0 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@ # README The tech stack for this project consists of: -- Rails 5.2 Back end -- or Phoenix 1.6 Back end +- Phoenix 1.6 Back end - webpacker - graphQL - React Front end @@ -11,98 +10,11 @@ To use the Phoenix back end set the environment variables as follows: - BACKEND_URL=http://localhost:4000 - BACKEND_LANGUAGE=elixir -To use the Rails back end set the environment variables as follows: -- BACKEND_URL=http://localhost:5001 -- BACKEND_LANGUAGE=ruby - ## Local development with Phoenix [View the README] in the server-phoenix directory. [View the README]: server-phoenix/README.me -## Local development with Rails -### Ruby version - -MRI 2.6.9 - -### Installation options - -You can either install the deps directly on your box or you can use the Docker support. - -## Native - -### Getting ready - -Prequisites: -- libpq - - Ubuntu: sudo apt install libpq-dev - - OSX: brew install libpq && brew link --force libpq -- libsqlite3 - - Ubuntu: sudo apt install sqlite3 libsqlite3-dev - - OSX: brew install sqlite3 && brew link --force sqlite3 -- asdf OR nvm - - OSX/Ubuntu (asdf): https://asdf-vm.com/guide/getting-started.html#_1-install-dependencies - - OSX/Ubuntu (nvm): https://github.com/nvm-sh/nvm -- freedesktop mime database - - Ubuntu: should work out of the box. https://github.com/mimemagicrb/mimemagic#dependencies - - OSX: brew install shared-mime-info - -- Depending on whether asdf or nvm worked for you: `asdf install` OR add the following to your ~/.zshrc after the configuration details for nvm to pin the nodejs version: - ```shell - autoload -U add-zsh-hook - load-nvmrc() { - if [[ -f .nvmrc && -r .nvmrc ]]; then - nvm use - elif [[ $(nvm version) != $(nvm version default) ]]; then - echo "Reverting to nvm default version" - nvm use default - fi - } - add-zsh-hook chpwd load-nvmrc - load-nvmrc - ``` -- `gem install bundler:2.2.32` -- `gem install pg -v '1.1.3' --source 'https://rubygems.org/'` -- `gem install sqlite3 -v '1.3.13' --source 'https://rubygems.org/'` -- `gem install foreman` -- `bundle install` -- `yarn install` -- `cp .env.sample .env` -- dotenv loads variables from a **.env** in your project's root directory. Fill in env vars where applicable -- Configure Redis: - -OSX: - ```shell - brew install redis - redis-server & - redis-cli CONFIG SET dir /tmp/ - redis-cli CONFIG SET dbfilename temp.rdb - redis-cli ping # Should respond with PONG - rake db:setup - ``` -Ubuntu: -- Update system - ```shell - sudo apt update - ``` -- Install redis server - ```shell - sudo apt install redis-server - ``` -- Update configuration - ```shell - sudo sh -c 'echo "supervised systemd" >> /etc/redis/redis.config' - ``` -- Restart running service - ```shell - sudo systemctl restart redis.service - ``` -- Configure and verify redis - ```shell - redis-cli CONFIG SET dir /tmp/ - redis-cli CONFIG SET dbfilename temp.rdb - redis-cli ping # Should respond with PONG - rake db:setup - ``` ### Start it up @@ -127,8 +39,6 @@ Ubuntu: ### Commands for local lint/testing steps: -**NOTE**: cypress tests depend on latest `rake db:seed` and a server running locally - - Command prints detected errors, stylistic/formatting issues, and bugs - `yarn run lint` @@ -144,33 +54,12 @@ Ubuntu: - Opens cypress test interface - `yarn run cy:open` -- Ruby-specific code style checker, reports and automaticaly fixes errors -- `bundle exec rubocop` - -#### Spin up Rails Console - -- have the docker image running in one terminal tab (`docker-compose up`) -- in a second tab run `docker-compose exec web bundle exec rails console` - - if it gives any errors, try the following command: - - `docker-compose run web bundle exec rake app:update:bin` - ### Integrations There are a number of integrations used within the Helios app. A more detailed desctipition of these integrations including how to get started using them can be found [here](./INTEGRATIONS.md) -### Production Start up - -- `export PATH=` -- `export PATH=` -- ```bash - RAILS_ENV=production \ - SECRET_KEY_BASE= \ - RAILS_SERVE_STATIC_FILES=1 \ - rails s - ``` - ### Designs https://app.zeplin.io/project/5ad8bfb98c928b070d6e1589 @@ -180,11 +69,3 @@ https://app.zeplin.io/project/5ad8bfb98c928b070d6e1589 ### GraphqQL fetch caching We have switched our client's default fetchPolicy to network-only, preferring to have a loading state prior to fetching the most up to date data. - -### ActiveAdmin User Interface - -Use the admin interface to navigate models and edit their parameters. Can be used to alter the displayed wifi and bathroom codes, rearrange and adjust widget screen time, or even delete a traffic cam from view. -- Accessible through http://localhost:3000/admin -- user email: admin@example.com -- password: password - diff --git a/Gemfile b/server-rails/Gemfile similarity index 100% rename from Gemfile rename to server-rails/Gemfile diff --git a/Gemfile.lock b/server-rails/Gemfile.lock similarity index 100% rename from Gemfile.lock rename to server-rails/Gemfile.lock diff --git a/server-rails/README.md b/server-rails/README.md new file mode 100644 index 00000000..621f8fce --- /dev/null +++ b/server-rails/README.md @@ -0,0 +1,129 @@ +# README + +The tech stack for this project consists of: +- Rails 5.2 Back end +- webpacker +- graphQL +- React Front end + +To use the Rails back end set the environment variables as follows: +- BACKEND_URL=http://localhost:5001 +- BACKEND_LANGUAGE=ruby + +## Local development with Rails + +### Ruby version + +MRI 2.6.9 + +### Installation options + +You can either install the deps directly on your box or you can use the Docker support. + +## Native + +### Getting ready + +Prequisites: +- libpq + - Ubuntu: sudo apt install libpq-dev + - OSX: brew install libpq && brew link --force libpq +- libsqlite3 + - Ubuntu: sudo apt install sqlite3 libsqlite3-dev + - OSX: brew install sqlite3 && brew link --force sqlite3 +- asdf OR nvm + - OSX/Ubuntu (asdf): https://asdf-vm.com/guide/getting-started.html#_1-install-dependencies + - OSX/Ubuntu (nvm): https://github.com/nvm-sh/nvm +- freedesktop mime database + - Ubuntu: should work out of the box. https://github.com/mimemagicrb/mimemagic#dependencies + - OSX: brew install shared-mime-info + +- Depending on whether asdf or nvm worked for you: `asdf install` OR add the following to your ~/.zshrc after the configuration details for nvm to pin the nodejs version: + ```shell + autoload -U add-zsh-hook + load-nvmrc() { + if [[ -f .nvmrc && -r .nvmrc ]]; then + nvm use + elif [[ $(nvm version) != $(nvm version default) ]]; then + echo "Reverting to nvm default version" + nvm use default + fi + } + add-zsh-hook chpwd load-nvmrc + load-nvmrc + ``` +- `gem install bundler:2.2.32` +- `gem install pg -v '1.1.3' --source 'https://rubygems.org/'` +- `gem install sqlite3 -v '1.3.13' --source 'https://rubygems.org/'` +- `gem install foreman` +- `bundle install` +- `yarn install` +- `cp .env.sample .env` -- dotenv loads variables from a **.env** in your project's root directory. Fill in env vars where applicable +- Configure Redis: + +OSX: + ```shell + brew install redis + redis-server & + redis-cli CONFIG SET dir /tmp/ + redis-cli CONFIG SET dbfilename temp.rdb + redis-cli ping # Should respond with PONG + rake db:setup + ``` +Ubuntu: +- Update system + ```shell + sudo apt update + ``` +- Install redis server + ```shell + sudo apt install redis-server + ``` +- Update configuration + ```shell + sudo sh -c 'echo "supervised systemd" >> /etc/redis/redis.config' + ``` +- Restart running service + ```shell + sudo systemctl restart redis.service + ``` +- Configure and verify redis + ```shell + redis-cli CONFIG SET dir /tmp/ + redis-cli CONFIG SET dbfilename temp.rdb + redis-cli ping # Should respond with PONG + rake db:setup + ``` + +### Commands for local lint/testing steps: + +**NOTE**: cypress tests depend on latest `rake db:seed` and a server running locally + +- Ruby-specific code style checker, reports and automaticaly fixes errors +- `bundle exec rubocop` + +#### Spin up Rails Console + +- have the docker image running in one terminal tab (`docker-compose up`) +- in a second tab run `docker-compose exec web bundle exec rails console` + - if it gives any errors, try the following command: + - `docker-compose run web bundle exec rake app:update:bin` + +### Production Start up + +- `export PATH=` +- `export PATH=` +- ```bash + RAILS_ENV=production \ + SECRET_KEY_BASE= \ + RAILS_SERVE_STATIC_FILES=1 \ + rails s + ``` + +### ActiveAdmin User Interface + +Use the admin interface to navigate models and edit their parameters. Can be used to alter the displayed wifi and bathroom codes, rearrange and adjust widget screen time, or even delete a traffic cam from view. +- Accessible through http://localhost:3000/admin +- user email: admin@example.com +- password: password + diff --git a/Rakefile b/server-rails/Rakefile similarity index 100% rename from Rakefile rename to server-rails/Rakefile diff --git a/app/admin/admin_users.rb b/server-rails/app/admin/admin_users.rb similarity index 100% rename from app/admin/admin_users.rb rename to server-rails/app/admin/admin_users.rb diff --git a/app/admin/dashboard.rb b/server-rails/app/admin/dashboard.rb similarity index 100% rename from app/admin/dashboard.rb rename to server-rails/app/admin/dashboard.rb diff --git a/app/admin/events.rb b/server-rails/app/admin/events.rb similarity index 100% rename from app/admin/events.rb rename to server-rails/app/admin/events.rb diff --git a/app/admin/locations.rb b/server-rails/app/admin/locations.rb similarity index 100% rename from app/admin/locations.rb rename to server-rails/app/admin/locations.rb diff --git a/app/admin/traffic_cams.rb b/server-rails/app/admin/traffic_cams.rb similarity index 100% rename from app/admin/traffic_cams.rb rename to server-rails/app/admin/traffic_cams.rb diff --git a/app/admin/widgets.rb b/server-rails/app/admin/widgets.rb similarity index 100% rename from app/admin/widgets.rb rename to server-rails/app/admin/widgets.rb diff --git a/app/assets/config/manifest.js b/server-rails/app/assets/config/manifest.js similarity index 100% rename from app/assets/config/manifest.js rename to server-rails/app/assets/config/manifest.js diff --git a/app/assets/javascripts/active_admin.js b/server-rails/app/assets/javascripts/active_admin.js similarity index 100% rename from app/assets/javascripts/active_admin.js rename to server-rails/app/assets/javascripts/active_admin.js diff --git a/app/assets/javascripts/application.js b/server-rails/app/assets/javascripts/application.js similarity index 100% rename from app/assets/javascripts/application.js rename to server-rails/app/assets/javascripts/application.js diff --git a/app/assets/javascripts/cable.js b/server-rails/app/assets/javascripts/cable.js similarity index 100% rename from app/assets/javascripts/cable.js rename to server-rails/app/assets/javascripts/cable.js diff --git a/app/assets/javascripts/channels/.keep b/server-rails/app/assets/javascripts/channels/.keep similarity index 100% rename from app/assets/javascripts/channels/.keep rename to server-rails/app/assets/javascripts/channels/.keep diff --git a/app/assets/javascripts/web_hooks/github.coffee b/server-rails/app/assets/javascripts/web_hooks/github.coffee similarity index 100% rename from app/assets/javascripts/web_hooks/github.coffee rename to server-rails/app/assets/javascripts/web_hooks/github.coffee diff --git a/app/assets/stylesheets/application.css b/server-rails/app/assets/stylesheets/application.css similarity index 100% rename from app/assets/stylesheets/application.css rename to server-rails/app/assets/stylesheets/application.css diff --git a/app/assets/stylesheets/web_hooks/github.scss b/server-rails/app/assets/stylesheets/web_hooks/github.scss similarity index 100% rename from app/assets/stylesheets/web_hooks/github.scss rename to server-rails/app/assets/stylesheets/web_hooks/github.scss diff --git a/app/channels/application_cable/channel.rb b/server-rails/app/channels/application_cable/channel.rb similarity index 100% rename from app/channels/application_cable/channel.rb rename to server-rails/app/channels/application_cable/channel.rb diff --git a/app/channels/application_cable/connection.rb b/server-rails/app/channels/application_cable/connection.rb similarity index 100% rename from app/channels/application_cable/connection.rb rename to server-rails/app/channels/application_cable/connection.rb diff --git a/app/channels/graphql_channel.rb b/server-rails/app/channels/graphql_channel.rb similarity index 100% rename from app/channels/graphql_channel.rb rename to server-rails/app/channels/graphql_channel.rb diff --git a/app/controllers/application_controller.rb b/server-rails/app/controllers/application_controller.rb similarity index 100% rename from app/controllers/application_controller.rb rename to server-rails/app/controllers/application_controller.rb diff --git a/app/controllers/concerns/.keep b/server-rails/app/controllers/concerns/.keep similarity index 100% rename from app/controllers/concerns/.keep rename to server-rails/app/controllers/concerns/.keep diff --git a/app/controllers/events/event_controller.rb b/server-rails/app/controllers/events/event_controller.rb similarity index 100% rename from app/controllers/events/event_controller.rb rename to server-rails/app/controllers/events/event_controller.rb diff --git a/app/controllers/graphql_controller.rb b/server-rails/app/controllers/graphql_controller.rb similarity index 100% rename from app/controllers/graphql_controller.rb rename to server-rails/app/controllers/graphql_controller.rb diff --git a/app/controllers/pages_controller.rb b/server-rails/app/controllers/pages_controller.rb similarity index 100% rename from app/controllers/pages_controller.rb rename to server-rails/app/controllers/pages_controller.rb diff --git a/app/controllers/web_hooks/github_controller.rb b/server-rails/app/controllers/web_hooks/github_controller.rb similarity index 100% rename from app/controllers/web_hooks/github_controller.rb rename to server-rails/app/controllers/web_hooks/github_controller.rb diff --git a/app/controllers/web_hooks/slack_auth_controller.rb b/server-rails/app/controllers/web_hooks/slack_auth_controller.rb similarity index 100% rename from app/controllers/web_hooks/slack_auth_controller.rb rename to server-rails/app/controllers/web_hooks/slack_auth_controller.rb diff --git a/app/controllers/web_hooks/slack_controller.rb b/server-rails/app/controllers/web_hooks/slack_controller.rb similarity index 100% rename from app/controllers/web_hooks/slack_controller.rb rename to server-rails/app/controllers/web_hooks/slack_controller.rb diff --git a/app/graphql/helios2_schema.rb b/server-rails/app/graphql/helios2_schema.rb similarity index 100% rename from app/graphql/helios2_schema.rb rename to server-rails/app/graphql/helios2_schema.rb diff --git a/app/graphql/mutations/.keep b/server-rails/app/graphql/mutations/.keep similarity index 100% rename from app/graphql/mutations/.keep rename to server-rails/app/graphql/mutations/.keep diff --git a/app/graphql/types/.keep b/server-rails/app/graphql/types/.keep similarity index 100% rename from app/graphql/types/.keep rename to server-rails/app/graphql/types/.keep diff --git a/app/graphql/types/announcement_type.rb b/server-rails/app/graphql/types/announcement_type.rb similarity index 100% rename from app/graphql/types/announcement_type.rb rename to server-rails/app/graphql/types/announcement_type.rb diff --git a/app/graphql/types/base_field.rb b/server-rails/app/graphql/types/base_field.rb similarity index 100% rename from app/graphql/types/base_field.rb rename to server-rails/app/graphql/types/base_field.rb diff --git a/app/graphql/types/base_interface.rb b/server-rails/app/graphql/types/base_interface.rb similarity index 100% rename from app/graphql/types/base_interface.rb rename to server-rails/app/graphql/types/base_interface.rb diff --git a/app/graphql/types/base_object.rb b/server-rails/app/graphql/types/base_object.rb similarity index 100% rename from app/graphql/types/base_object.rb rename to server-rails/app/graphql/types/base_object.rb diff --git a/app/graphql/types/date_time_type.rb b/server-rails/app/graphql/types/date_time_type.rb similarity index 100% rename from app/graphql/types/date_time_type.rb rename to server-rails/app/graphql/types/date_time_type.rb diff --git a/app/graphql/types/employee_event_collection_type.rb b/server-rails/app/graphql/types/employee_event_collection_type.rb similarity index 100% rename from app/graphql/types/employee_event_collection_type.rb rename to server-rails/app/graphql/types/employee_event_collection_type.rb diff --git a/app/graphql/types/employee_type.rb b/server-rails/app/graphql/types/employee_type.rb similarity index 100% rename from app/graphql/types/employee_type.rb rename to server-rails/app/graphql/types/employee_type.rb diff --git a/app/graphql/types/event_collection_type.rb b/server-rails/app/graphql/types/event_collection_type.rb similarity index 100% rename from app/graphql/types/event_collection_type.rb rename to server-rails/app/graphql/types/event_collection_type.rb diff --git a/app/graphql/types/event_type.rb b/server-rails/app/graphql/types/event_type.rb similarity index 100% rename from app/graphql/types/event_type.rb rename to server-rails/app/graphql/types/event_type.rb diff --git a/app/graphql/types/icon_id_to_name_type.rb b/server-rails/app/graphql/types/icon_id_to_name_type.rb similarity index 100% rename from app/graphql/types/icon_id_to_name_type.rb rename to server-rails/app/graphql/types/icon_id_to_name_type.rb diff --git a/app/graphql/types/location_type.rb b/server-rails/app/graphql/types/location_type.rb similarity index 100% rename from app/graphql/types/location_type.rb rename to server-rails/app/graphql/types/location_type.rb diff --git a/app/graphql/types/mutation_type.rb b/server-rails/app/graphql/types/mutation_type.rb similarity index 100% rename from app/graphql/types/mutation_type.rb rename to server-rails/app/graphql/types/mutation_type.rb diff --git a/app/graphql/types/query_type.rb b/server-rails/app/graphql/types/query_type.rb similarity index 100% rename from app/graphql/types/query_type.rb rename to server-rails/app/graphql/types/query_type.rb diff --git a/app/graphql/types/solarcycle_type.rb b/server-rails/app/graphql/types/solarcycle_type.rb similarity index 100% rename from app/graphql/types/solarcycle_type.rb rename to server-rails/app/graphql/types/solarcycle_type.rb diff --git a/app/graphql/types/subscription_type.rb b/server-rails/app/graphql/types/subscription_type.rb similarity index 100% rename from app/graphql/types/subscription_type.rb rename to server-rails/app/graphql/types/subscription_type.rb diff --git a/app/graphql/types/traffic_cam_type.rb b/server-rails/app/graphql/types/traffic_cam_type.rb similarity index 100% rename from app/graphql/types/traffic_cam_type.rb rename to server-rails/app/graphql/types/traffic_cam_type.rb diff --git a/app/graphql/types/tweet_type.rb b/server-rails/app/graphql/types/tweet_type.rb similarity index 100% rename from app/graphql/types/tweet_type.rb rename to server-rails/app/graphql/types/tweet_type.rb diff --git a/app/graphql/types/unix_date_time_type.rb b/server-rails/app/graphql/types/unix_date_time_type.rb similarity index 100% rename from app/graphql/types/unix_date_time_type.rb rename to server-rails/app/graphql/types/unix_date_time_type.rb diff --git a/app/graphql/types/user_type.rb b/server-rails/app/graphql/types/user_type.rb similarity index 100% rename from app/graphql/types/user_type.rb rename to server-rails/app/graphql/types/user_type.rb diff --git a/app/graphql/types/weather_type.rb b/server-rails/app/graphql/types/weather_type.rb similarity index 100% rename from app/graphql/types/weather_type.rb rename to server-rails/app/graphql/types/weather_type.rb diff --git a/app/graphql/types/widget_collection_type.rb b/server-rails/app/graphql/types/widget_collection_type.rb similarity index 100% rename from app/graphql/types/widget_collection_type.rb rename to server-rails/app/graphql/types/widget_collection_type.rb diff --git a/app/graphql/types/widget_type.rb b/server-rails/app/graphql/types/widget_type.rb similarity index 100% rename from app/graphql/types/widget_type.rb rename to server-rails/app/graphql/types/widget_type.rb diff --git a/app/helpers/application_helper.rb b/server-rails/app/helpers/application_helper.rb similarity index 100% rename from app/helpers/application_helper.rb rename to server-rails/app/helpers/application_helper.rb diff --git a/app/helpers/web_hooks/github_helper.rb b/server-rails/app/helpers/web_hooks/github_helper.rb similarity index 100% rename from app/helpers/web_hooks/github_helper.rb rename to server-rails/app/helpers/web_hooks/github_helper.rb diff --git a/app/jobs/application_job.rb b/server-rails/app/jobs/application_job.rb similarity index 100% rename from app/jobs/application_job.rb rename to server-rails/app/jobs/application_job.rb diff --git a/app/lib/app_env.rb b/server-rails/app/lib/app_env.rb similarity index 100% rename from app/lib/app_env.rb rename to server-rails/app/lib/app_env.rb diff --git a/app/lib/clients/bamboohr_client.rb b/server-rails/app/lib/clients/bamboohr_client.rb similarity index 100% rename from app/lib/clients/bamboohr_client.rb rename to server-rails/app/lib/clients/bamboohr_client.rb diff --git a/app/lib/clients/create_employees.rb b/server-rails/app/lib/clients/create_employees.rb similarity index 100% rename from app/lib/clients/create_employees.rb rename to server-rails/app/lib/clients/create_employees.rb diff --git a/app/lib/clients/create_tweet.rb b/server-rails/app/lib/clients/create_tweet.rb similarity index 100% rename from app/lib/clients/create_tweet.rb rename to server-rails/app/lib/clients/create_tweet.rb diff --git a/app/lib/clients/token.yaml b/server-rails/app/lib/clients/token.yaml similarity index 100% rename from app/lib/clients/token.yaml rename to server-rails/app/lib/clients/token.yaml diff --git a/app/lib/clients/twitter_client.rb b/server-rails/app/lib/clients/twitter_client.rb similarity index 100% rename from app/lib/clients/twitter_client.rb rename to server-rails/app/lib/clients/twitter_client.rb diff --git a/app/lib/clients/weather_client.rb b/server-rails/app/lib/clients/weather_client.rb similarity index 100% rename from app/lib/clients/weather_client.rb rename to server-rails/app/lib/clients/weather_client.rb diff --git a/app/lib/simulate.rb b/server-rails/app/lib/simulate.rb similarity index 100% rename from app/lib/simulate.rb rename to server-rails/app/lib/simulate.rb diff --git a/app/lib/simulate/pull-request-close.json.erb b/server-rails/app/lib/simulate/pull-request-close.json.erb similarity index 100% rename from app/lib/simulate/pull-request-close.json.erb rename to server-rails/app/lib/simulate/pull-request-close.json.erb diff --git a/app/lib/simulate/pull-request-open.json.erb b/server-rails/app/lib/simulate/pull-request-open.json.erb similarity index 100% rename from app/lib/simulate/pull-request-open.json.erb rename to server-rails/app/lib/simulate/pull-request-open.json.erb diff --git a/app/lib/simulate/push-branch.json.erb b/server-rails/app/lib/simulate/push-branch.json.erb similarity index 100% rename from app/lib/simulate/push-branch.json.erb rename to server-rails/app/lib/simulate/push-branch.json.erb diff --git a/app/lib/simulate/push-master.json.erb b/server-rails/app/lib/simulate/push-master.json.erb similarity index 100% rename from app/lib/simulate/push-master.json.erb rename to server-rails/app/lib/simulate/push-master.json.erb diff --git a/app/lib/simulate/slack-announcement.json.erb b/server-rails/app/lib/simulate/slack-announcement.json.erb similarity index 100% rename from app/lib/simulate/slack-announcement.json.erb rename to server-rails/app/lib/simulate/slack-announcement.json.erb diff --git a/app/lib/simulate/slack-message.json.erb b/server-rails/app/lib/simulate/slack-message.json.erb similarity index 100% rename from app/lib/simulate/slack-message.json.erb rename to server-rails/app/lib/simulate/slack-message.json.erb diff --git a/app/mailers/application_mailer.rb b/server-rails/app/mailers/application_mailer.rb similarity index 100% rename from app/mailers/application_mailer.rb rename to server-rails/app/mailers/application_mailer.rb diff --git a/app/models/admin_user.rb b/server-rails/app/models/admin_user.rb similarity index 100% rename from app/models/admin_user.rb rename to server-rails/app/models/admin_user.rb diff --git a/app/models/announcement.rb b/server-rails/app/models/announcement.rb similarity index 100% rename from app/models/announcement.rb rename to server-rails/app/models/announcement.rb diff --git a/app/models/application_record.rb b/server-rails/app/models/application_record.rb similarity index 100% rename from app/models/application_record.rb rename to server-rails/app/models/application_record.rb diff --git a/app/models/concerns/.keep b/server-rails/app/models/concerns/.keep similarity index 100% rename from app/models/concerns/.keep rename to server-rails/app/models/concerns/.keep diff --git a/app/models/daily_event_summary.rb b/server-rails/app/models/daily_event_summary.rb similarity index 100% rename from app/models/daily_event_summary.rb rename to server-rails/app/models/daily_event_summary.rb diff --git a/app/models/developer_user.rb b/server-rails/app/models/developer_user.rb similarity index 100% rename from app/models/developer_user.rb rename to server-rails/app/models/developer_user.rb diff --git a/app/models/event.rb b/server-rails/app/models/event.rb similarity index 100% rename from app/models/event.rb rename to server-rails/app/models/event.rb diff --git a/app/models/location.rb b/server-rails/app/models/location.rb similarity index 100% rename from app/models/location.rb rename to server-rails/app/models/location.rb diff --git a/app/models/traffic_cam.rb b/server-rails/app/models/traffic_cam.rb similarity index 100% rename from app/models/traffic_cam.rb rename to server-rails/app/models/traffic_cam.rb diff --git a/app/models/user.rb b/server-rails/app/models/user.rb similarity index 100% rename from app/models/user.rb rename to server-rails/app/models/user.rb diff --git a/app/models/widget.rb b/server-rails/app/models/widget.rb similarity index 100% rename from app/models/widget.rb rename to server-rails/app/models/widget.rb diff --git a/app/views/layouts/application.html.erb b/server-rails/app/views/layouts/application.html.erb similarity index 100% rename from app/views/layouts/application.html.erb rename to server-rails/app/views/layouts/application.html.erb diff --git a/app/views/layouts/mailer.html.erb b/server-rails/app/views/layouts/mailer.html.erb similarity index 100% rename from app/views/layouts/mailer.html.erb rename to server-rails/app/views/layouts/mailer.html.erb diff --git a/app/views/layouts/mailer.text.erb b/server-rails/app/views/layouts/mailer.text.erb similarity index 100% rename from app/views/layouts/mailer.text.erb rename to server-rails/app/views/layouts/mailer.text.erb diff --git a/app/views/pages/index.html.erb b/server-rails/app/views/pages/index.html.erb similarity index 100% rename from app/views/pages/index.html.erb rename to server-rails/app/views/pages/index.html.erb diff --git a/app/views/web_hooks/slack_auth/new.html.erb b/server-rails/app/views/web_hooks/slack_auth/new.html.erb similarity index 100% rename from app/views/web_hooks/slack_auth/new.html.erb rename to server-rails/app/views/web_hooks/slack_auth/new.html.erb diff --git a/app/workers/sha_poller_worker.rb b/server-rails/app/workers/sha_poller_worker.rb similarity index 100% rename from app/workers/sha_poller_worker.rb rename to server-rails/app/workers/sha_poller_worker.rb diff --git a/app/workers/weather_poller_worker.rb b/server-rails/app/workers/weather_poller_worker.rb similarity index 100% rename from app/workers/weather_poller_worker.rb rename to server-rails/app/workers/weather_poller_worker.rb diff --git a/bin/bundle b/server-rails/bin/bundle similarity index 100% rename from bin/bundle rename to server-rails/bin/bundle diff --git a/bin/rails b/server-rails/bin/rails similarity index 100% rename from bin/rails rename to server-rails/bin/rails diff --git a/bin/rake b/server-rails/bin/rake similarity index 100% rename from bin/rake rename to server-rails/bin/rake diff --git a/bin/setup b/server-rails/bin/setup similarity index 100% rename from bin/setup rename to server-rails/bin/setup diff --git a/bin/spring b/server-rails/bin/spring similarity index 100% rename from bin/spring rename to server-rails/bin/spring diff --git a/bin/update b/server-rails/bin/update similarity index 100% rename from bin/update rename to server-rails/bin/update diff --git a/bin/yarn b/server-rails/bin/yarn similarity index 100% rename from bin/yarn rename to server-rails/bin/yarn diff --git a/config/application.rb b/server-rails/config/application.rb similarity index 100% rename from config/application.rb rename to server-rails/config/application.rb diff --git a/config/boot.rb b/server-rails/config/boot.rb similarity index 100% rename from config/boot.rb rename to server-rails/config/boot.rb diff --git a/config/cable.yml b/server-rails/config/cable.yml similarity index 100% rename from config/cable.yml rename to server-rails/config/cable.yml diff --git a/config/credentials.yml.enc b/server-rails/config/credentials.yml.enc similarity index 100% rename from config/credentials.yml.enc rename to server-rails/config/credentials.yml.enc diff --git a/config/database.yml b/server-rails/config/database.yml similarity index 100% rename from config/database.yml rename to server-rails/config/database.yml diff --git a/config/environment.rb b/server-rails/config/environment.rb similarity index 100% rename from config/environment.rb rename to server-rails/config/environment.rb diff --git a/config/environments/development.rb b/server-rails/config/environments/development.rb similarity index 100% rename from config/environments/development.rb rename to server-rails/config/environments/development.rb diff --git a/config/environments/production.rb b/server-rails/config/environments/production.rb similarity index 100% rename from config/environments/production.rb rename to server-rails/config/environments/production.rb diff --git a/config/environments/test.rb b/server-rails/config/environments/test.rb similarity index 100% rename from config/environments/test.rb rename to server-rails/config/environments/test.rb diff --git a/config/initializers/active_admin.rb b/server-rails/config/initializers/active_admin.rb similarity index 100% rename from config/initializers/active_admin.rb rename to server-rails/config/initializers/active_admin.rb diff --git a/config/initializers/application_controller_renderer.rb b/server-rails/config/initializers/application_controller_renderer.rb similarity index 100% rename from config/initializers/application_controller_renderer.rb rename to server-rails/config/initializers/application_controller_renderer.rb diff --git a/config/initializers/assets.rb b/server-rails/config/initializers/assets.rb similarity index 100% rename from config/initializers/assets.rb rename to server-rails/config/initializers/assets.rb diff --git a/config/initializers/backtrace_silencers.rb b/server-rails/config/initializers/backtrace_silencers.rb similarity index 100% rename from config/initializers/backtrace_silencers.rb rename to server-rails/config/initializers/backtrace_silencers.rb diff --git a/config/initializers/content_security_policy.rb b/server-rails/config/initializers/content_security_policy.rb similarity index 100% rename from config/initializers/content_security_policy.rb rename to server-rails/config/initializers/content_security_policy.rb diff --git a/config/initializers/cookies_serializer.rb b/server-rails/config/initializers/cookies_serializer.rb similarity index 100% rename from config/initializers/cookies_serializer.rb rename to server-rails/config/initializers/cookies_serializer.rb diff --git a/config/initializers/cors.rb b/server-rails/config/initializers/cors.rb similarity index 100% rename from config/initializers/cors.rb rename to server-rails/config/initializers/cors.rb diff --git a/config/initializers/devise.rb b/server-rails/config/initializers/devise.rb similarity index 100% rename from config/initializers/devise.rb rename to server-rails/config/initializers/devise.rb diff --git a/config/initializers/filter_parameter_logging.rb b/server-rails/config/initializers/filter_parameter_logging.rb similarity index 100% rename from config/initializers/filter_parameter_logging.rb rename to server-rails/config/initializers/filter_parameter_logging.rb diff --git a/config/initializers/inflections.rb b/server-rails/config/initializers/inflections.rb similarity index 100% rename from config/initializers/inflections.rb rename to server-rails/config/initializers/inflections.rb diff --git a/config/initializers/mime_types.rb b/server-rails/config/initializers/mime_types.rb similarity index 100% rename from config/initializers/mime_types.rb rename to server-rails/config/initializers/mime_types.rb diff --git a/config/initializers/redis.rb b/server-rails/config/initializers/redis.rb similarity index 100% rename from config/initializers/redis.rb rename to server-rails/config/initializers/redis.rb diff --git a/config/initializers/sidekiq.rb b/server-rails/config/initializers/sidekiq.rb similarity index 100% rename from config/initializers/sidekiq.rb rename to server-rails/config/initializers/sidekiq.rb diff --git a/config/initializers/time_of_day.rb b/server-rails/config/initializers/time_of_day.rb similarity index 100% rename from config/initializers/time_of_day.rb rename to server-rails/config/initializers/time_of_day.rb diff --git a/config/initializers/wrap_parameters.rb b/server-rails/config/initializers/wrap_parameters.rb similarity index 100% rename from config/initializers/wrap_parameters.rb rename to server-rails/config/initializers/wrap_parameters.rb diff --git a/config/locales/devise.en.yml b/server-rails/config/locales/devise.en.yml similarity index 100% rename from config/locales/devise.en.yml rename to server-rails/config/locales/devise.en.yml diff --git a/config/locales/en.yml b/server-rails/config/locales/en.yml similarity index 100% rename from config/locales/en.yml rename to server-rails/config/locales/en.yml diff --git a/config/puma.rb b/server-rails/config/puma.rb similarity index 100% rename from config/puma.rb rename to server-rails/config/puma.rb diff --git a/config/redis.yml b/server-rails/config/redis.yml similarity index 100% rename from config/redis.yml rename to server-rails/config/redis.yml diff --git a/config/routes.rb b/server-rails/config/routes.rb similarity index 100% rename from config/routes.rb rename to server-rails/config/routes.rb diff --git a/config/spring.rb b/server-rails/config/spring.rb similarity index 100% rename from config/spring.rb rename to server-rails/config/spring.rb diff --git a/config/storage.yml b/server-rails/config/storage.yml similarity index 100% rename from config/storage.yml rename to server-rails/config/storage.yml diff --git a/config/transforms/relative_to_alias_path.js b/server-rails/config/transforms/relative_to_alias_path.js similarity index 100% rename from config/transforms/relative_to_alias_path.js rename to server-rails/config/transforms/relative_to_alias_path.js diff --git a/db/migrate/20180511135827_create_locations.rb b/server-rails/db/migrate/20180511135827_create_locations.rb similarity index 100% rename from db/migrate/20180511135827_create_locations.rb rename to server-rails/db/migrate/20180511135827_create_locations.rb diff --git a/db/migrate/20180518190226_create_events.rb b/server-rails/db/migrate/20180518190226_create_events.rb similarity index 100% rename from db/migrate/20180518190226_create_events.rb rename to server-rails/db/migrate/20180518190226_create_events.rb diff --git a/db/migrate/20180627142450_add_calendar_id_to_locations.rb b/server-rails/db/migrate/20180627142450_add_calendar_id_to_locations.rb similarity index 100% rename from db/migrate/20180627142450_add_calendar_id_to_locations.rb rename to server-rails/db/migrate/20180627142450_add_calendar_id_to_locations.rb diff --git a/db/migrate/20181221194808_remove_calendar_id_from_locations.rb b/server-rails/db/migrate/20181221194808_remove_calendar_id_from_locations.rb similarity index 100% rename from db/migrate/20181221194808_remove_calendar_id_from_locations.rb rename to server-rails/db/migrate/20181221194808_remove_calendar_id_from_locations.rb diff --git a/db/migrate/20190517184255_create_announcements.rb b/server-rails/db/migrate/20190517184255_create_announcements.rb similarity index 100% rename from db/migrate/20190517184255_create_announcements.rb rename to server-rails/db/migrate/20190517184255_create_announcements.rb diff --git a/db/migrate/20190522181138_create_solarcycles.rb b/server-rails/db/migrate/20190522181138_create_solarcycles.rb similarity index 100% rename from db/migrate/20190522181138_create_solarcycles.rb rename to server-rails/db/migrate/20190522181138_create_solarcycles.rb diff --git a/db/migrate/20190531061410_create_daily_event_summaries.rb b/server-rails/db/migrate/20190531061410_create_daily_event_summaries.rb similarity index 100% rename from db/migrate/20190531061410_create_daily_event_summaries.rb rename to server-rails/db/migrate/20190531061410_create_daily_event_summaries.rb diff --git a/db/migrate/20190604172236_create_widgets.rb b/server-rails/db/migrate/20190604172236_create_widgets.rb similarity index 100% rename from db/migrate/20190604172236_create_widgets.rb rename to server-rails/db/migrate/20190604172236_create_widgets.rb diff --git a/db/migrate/20190823182602_create_traffic_cams.rb b/server-rails/db/migrate/20190823182602_create_traffic_cams.rb similarity index 100% rename from db/migrate/20190823182602_create_traffic_cams.rb rename to server-rails/db/migrate/20190823182602_create_traffic_cams.rb diff --git a/db/migrate/20190823192258_add_location_id_fk_to_widgets.rb b/server-rails/db/migrate/20190823192258_add_location_id_fk_to_widgets.rb similarity index 100% rename from db/migrate/20190823192258_add_location_id_fk_to_widgets.rb rename to server-rails/db/migrate/20190823192258_add_location_id_fk_to_widgets.rb diff --git a/db/migrate/20200110220901_add_start_stop_to_widgets.rb b/server-rails/db/migrate/20200110220901_add_start_stop_to_widgets.rb similarity index 100% rename from db/migrate/20200110220901_add_start_stop_to_widgets.rb rename to server-rails/db/migrate/20200110220901_add_start_stop_to_widgets.rb diff --git a/db/migrate/20200110224801_add_sidebar_text_and_show_weather_to_widgets.rb b/server-rails/db/migrate/20200110224801_add_sidebar_text_and_show_weather_to_widgets.rb similarity index 100% rename from db/migrate/20200110224801_add_sidebar_text_and_show_weather_to_widgets.rb rename to server-rails/db/migrate/20200110224801_add_sidebar_text_and_show_weather_to_widgets.rb diff --git a/db/migrate/20210405184534_drop_solar_cycles.rb b/server-rails/db/migrate/20210405184534_drop_solar_cycles.rb similarity index 100% rename from db/migrate/20210405184534_drop_solar_cycles.rb rename to server-rails/db/migrate/20210405184534_drop_solar_cycles.rb diff --git a/db/migrate/20210527193617_add_feed_format_to_traffic_cams.rb b/server-rails/db/migrate/20210527193617_add_feed_format_to_traffic_cams.rb similarity index 100% rename from db/migrate/20210527193617_add_feed_format_to_traffic_cams.rb rename to server-rails/db/migrate/20210527193617_add_feed_format_to_traffic_cams.rb diff --git a/db/migrate/20210527202246_add_env_variables_to_locations.rb b/server-rails/db/migrate/20210527202246_add_env_variables_to_locations.rb similarity index 100% rename from db/migrate/20210527202246_add_env_variables_to_locations.rb rename to server-rails/db/migrate/20210527202246_add_env_variables_to_locations.rb diff --git a/db/migrate/20210607180232_devise_create_admin_users.rb b/server-rails/db/migrate/20210607180232_devise_create_admin_users.rb similarity index 100% rename from db/migrate/20210607180232_devise_create_admin_users.rb rename to server-rails/db/migrate/20210607180232_devise_create_admin_users.rb diff --git a/db/migrate/20210607180242_create_active_admin_comments.rb b/server-rails/db/migrate/20210607180242_create_active_admin_comments.rb similarity index 100% rename from db/migrate/20210607180242_create_active_admin_comments.rb rename to server-rails/db/migrate/20210607180242_create_active_admin_comments.rb diff --git a/db/migrate/20210712211847_create_users.rb b/server-rails/db/migrate/20210712211847_create_users.rb similarity index 100% rename from db/migrate/20210712211847_create_users.rb rename to server-rails/db/migrate/20210712211847_create_users.rb diff --git a/db/migrate/20211220181834_developer_users.rb b/server-rails/db/migrate/20211220181834_developer_users.rb similarity index 100% rename from db/migrate/20211220181834_developer_users.rb rename to server-rails/db/migrate/20211220181834_developer_users.rb diff --git a/db/migrate/20220217225447_add_missing_unique_indices.rb b/server-rails/db/migrate/20220217225447_add_missing_unique_indices.rb similarity index 100% rename from db/migrate/20220217225447_add_missing_unique_indices.rb rename to server-rails/db/migrate/20220217225447_add_missing_unique_indices.rb diff --git a/db/migrate/20220302163416_change_location_id_type_from_announcements.rb b/server-rails/db/migrate/20220302163416_change_location_id_type_from_announcements.rb similarity index 100% rename from db/migrate/20220302163416_change_location_id_type_from_announcements.rb rename to server-rails/db/migrate/20220302163416_change_location_id_type_from_announcements.rb diff --git a/db/migrate/20220513194158_phoenix_cut_over.rb b/server-rails/db/migrate/20220513194158_phoenix_cut_over.rb similarity index 100% rename from db/migrate/20220513194158_phoenix_cut_over.rb rename to server-rails/db/migrate/20220513194158_phoenix_cut_over.rb diff --git a/db/schema.rb b/server-rails/db/schema.rb similarity index 100% rename from db/schema.rb rename to server-rails/db/schema.rb diff --git a/db/seeds.rb b/server-rails/db/seeds.rb similarity index 100% rename from db/seeds.rb rename to server-rails/db/seeds.rb diff --git a/lib/assets/.keep b/server-rails/lib/assets/.keep similarity index 100% rename from lib/assets/.keep rename to server-rails/lib/assets/.keep diff --git a/lib/tasks/.keep b/server-rails/lib/tasks/.keep similarity index 100% rename from lib/tasks/.keep rename to server-rails/lib/tasks/.keep diff --git a/lib/tasks/graphql.rake b/server-rails/lib/tasks/graphql.rake similarity index 100% rename from lib/tasks/graphql.rake rename to server-rails/lib/tasks/graphql.rake diff --git a/lib/tasks/maintain.rake b/server-rails/lib/tasks/maintain.rake similarity index 100% rename from lib/tasks/maintain.rake rename to server-rails/lib/tasks/maintain.rake diff --git a/lib/tasks/simulate.rake b/server-rails/lib/tasks/simulate.rake similarity index 100% rename from lib/tasks/simulate.rake rename to server-rails/lib/tasks/simulate.rake diff --git a/log/.keep b/server-rails/log/.keep similarity index 100% rename from log/.keep rename to server-rails/log/.keep diff --git a/public/404.html b/server-rails/public/404.html similarity index 100% rename from public/404.html rename to server-rails/public/404.html diff --git a/public/422.html b/server-rails/public/422.html similarity index 100% rename from public/422.html rename to server-rails/public/422.html diff --git a/public/500.html b/server-rails/public/500.html similarity index 100% rename from public/500.html rename to server-rails/public/500.html diff --git a/public/apple-touch-icon-precomposed.png b/server-rails/public/apple-touch-icon-precomposed.png similarity index 100% rename from public/apple-touch-icon-precomposed.png rename to server-rails/public/apple-touch-icon-precomposed.png diff --git a/public/apple-touch-icon.png b/server-rails/public/apple-touch-icon.png similarity index 100% rename from public/apple-touch-icon.png rename to server-rails/public/apple-touch-icon.png diff --git a/public/favicon.ico b/server-rails/public/favicon.ico similarity index 100% rename from public/favicon.ico rename to server-rails/public/favicon.ico diff --git a/public/fonts/GT-America-Extended-Regular.eot b/server-rails/public/fonts/GT-America-Extended-Regular.eot similarity index 100% rename from public/fonts/GT-America-Extended-Regular.eot rename to server-rails/public/fonts/GT-America-Extended-Regular.eot diff --git a/public/fonts/GT-America-Extended-Regular.svg b/server-rails/public/fonts/GT-America-Extended-Regular.svg similarity index 100% rename from public/fonts/GT-America-Extended-Regular.svg rename to server-rails/public/fonts/GT-America-Extended-Regular.svg diff --git a/public/fonts/GT-America-Extended-Regular.ttf b/server-rails/public/fonts/GT-America-Extended-Regular.ttf similarity index 100% rename from public/fonts/GT-America-Extended-Regular.ttf rename to server-rails/public/fonts/GT-America-Extended-Regular.ttf diff --git a/public/fonts/GT-America-Extended-Regular.woff b/server-rails/public/fonts/GT-America-Extended-Regular.woff similarity index 100% rename from public/fonts/GT-America-Extended-Regular.woff rename to server-rails/public/fonts/GT-America-Extended-Regular.woff diff --git a/public/fonts/GT-America-Extended-Regular.woff2 b/server-rails/public/fonts/GT-America-Extended-Regular.woff2 similarity index 100% rename from public/fonts/GT-America-Extended-Regular.woff2 rename to server-rails/public/fonts/GT-America-Extended-Regular.woff2 diff --git a/public/fonts/GT-America-Extended-Thin.eot b/server-rails/public/fonts/GT-America-Extended-Thin.eot similarity index 100% rename from public/fonts/GT-America-Extended-Thin.eot rename to server-rails/public/fonts/GT-America-Extended-Thin.eot diff --git a/public/fonts/GT-America-Extended-Thin.svg b/server-rails/public/fonts/GT-America-Extended-Thin.svg similarity index 100% rename from public/fonts/GT-America-Extended-Thin.svg rename to server-rails/public/fonts/GT-America-Extended-Thin.svg diff --git a/public/fonts/GT-America-Extended-Thin.ttf b/server-rails/public/fonts/GT-America-Extended-Thin.ttf similarity index 100% rename from public/fonts/GT-America-Extended-Thin.ttf rename to server-rails/public/fonts/GT-America-Extended-Thin.ttf diff --git a/public/fonts/GT-America-Extended-Thin.woff b/server-rails/public/fonts/GT-America-Extended-Thin.woff similarity index 100% rename from public/fonts/GT-America-Extended-Thin.woff rename to server-rails/public/fonts/GT-America-Extended-Thin.woff diff --git a/public/fonts/GT-America-Extended-Thin.woff2 b/server-rails/public/fonts/GT-America-Extended-Thin.woff2 similarity index 100% rename from public/fonts/GT-America-Extended-Thin.woff2 rename to server-rails/public/fonts/GT-America-Extended-Thin.woff2 diff --git a/public/fonts/hinted-GTAmerica-Light.eot b/server-rails/public/fonts/hinted-GTAmerica-Light.eot similarity index 100% rename from public/fonts/hinted-GTAmerica-Light.eot rename to server-rails/public/fonts/hinted-GTAmerica-Light.eot diff --git a/public/fonts/hinted-GTAmerica-Light.svg b/server-rails/public/fonts/hinted-GTAmerica-Light.svg similarity index 100% rename from public/fonts/hinted-GTAmerica-Light.svg rename to server-rails/public/fonts/hinted-GTAmerica-Light.svg diff --git a/public/fonts/hinted-GTAmerica-Light.ttf b/server-rails/public/fonts/hinted-GTAmerica-Light.ttf similarity index 100% rename from public/fonts/hinted-GTAmerica-Light.ttf rename to server-rails/public/fonts/hinted-GTAmerica-Light.ttf diff --git a/public/fonts/hinted-GTAmerica-Light.woff b/server-rails/public/fonts/hinted-GTAmerica-Light.woff similarity index 100% rename from public/fonts/hinted-GTAmerica-Light.woff rename to server-rails/public/fonts/hinted-GTAmerica-Light.woff diff --git a/public/fonts/hinted-GTAmerica-Light.woff2 b/server-rails/public/fonts/hinted-GTAmerica-Light.woff2 similarity index 100% rename from public/fonts/hinted-GTAmerica-Light.woff2 rename to server-rails/public/fonts/hinted-GTAmerica-Light.woff2 diff --git a/public/fonts/hinted-GTAmerica-Regular.eot b/server-rails/public/fonts/hinted-GTAmerica-Regular.eot similarity index 100% rename from public/fonts/hinted-GTAmerica-Regular.eot rename to server-rails/public/fonts/hinted-GTAmerica-Regular.eot diff --git a/public/fonts/hinted-GTAmerica-Regular.svg b/server-rails/public/fonts/hinted-GTAmerica-Regular.svg similarity index 100% rename from public/fonts/hinted-GTAmerica-Regular.svg rename to server-rails/public/fonts/hinted-GTAmerica-Regular.svg diff --git a/public/fonts/hinted-GTAmerica-Regular.ttf b/server-rails/public/fonts/hinted-GTAmerica-Regular.ttf similarity index 100% rename from public/fonts/hinted-GTAmerica-Regular.ttf rename to server-rails/public/fonts/hinted-GTAmerica-Regular.ttf diff --git a/public/fonts/hinted-GTAmerica-Regular.woff b/server-rails/public/fonts/hinted-GTAmerica-Regular.woff similarity index 100% rename from public/fonts/hinted-GTAmerica-Regular.woff rename to server-rails/public/fonts/hinted-GTAmerica-Regular.woff diff --git a/public/fonts/hinted-GTAmerica-Regular.woff2 b/server-rails/public/fonts/hinted-GTAmerica-Regular.woff2 similarity index 100% rename from public/fonts/hinted-GTAmerica-Regular.woff2 rename to server-rails/public/fonts/hinted-GTAmerica-Regular.woff2 diff --git a/public/robots.txt b/server-rails/public/robots.txt similarity index 100% rename from public/robots.txt rename to server-rails/public/robots.txt diff --git a/schema.graphql b/server-rails/schema.graphql similarity index 100% rename from schema.graphql rename to server-rails/schema.graphql diff --git a/spec/controllers/web_hooks/github_controller_spec.rb b/server-rails/spec/controllers/web_hooks/github_controller_spec.rb similarity index 100% rename from spec/controllers/web_hooks/github_controller_spec.rb rename to server-rails/spec/controllers/web_hooks/github_controller_spec.rb diff --git a/spec/fixtures/files/onecall_response_1.json b/server-rails/spec/fixtures/files/onecall_response_1.json similarity index 100% rename from spec/fixtures/files/onecall_response_1.json rename to server-rails/spec/fixtures/files/onecall_response_1.json diff --git a/spec/graphql/bamboohr_spec.rb b/server-rails/spec/graphql/bamboohr_spec.rb similarity index 100% rename from spec/graphql/bamboohr_spec.rb rename to server-rails/spec/graphql/bamboohr_spec.rb diff --git a/spec/graphql/events_spec.rb b/server-rails/spec/graphql/events_spec.rb similarity index 100% rename from spec/graphql/events_spec.rb rename to server-rails/spec/graphql/events_spec.rb diff --git a/spec/graphql/tweet_spec.rb b/server-rails/spec/graphql/tweet_spec.rb similarity index 100% rename from spec/graphql/tweet_spec.rb rename to server-rails/spec/graphql/tweet_spec.rb diff --git a/spec/graphql/weather_spec.rb b/server-rails/spec/graphql/weather_spec.rb similarity index 100% rename from spec/graphql/weather_spec.rb rename to server-rails/spec/graphql/weather_spec.rb diff --git a/spec/models/admin_user_spec.rb b/server-rails/spec/models/admin_user_spec.rb similarity index 100% rename from spec/models/admin_user_spec.rb rename to server-rails/spec/models/admin_user_spec.rb diff --git a/spec/models/daily_event_summary_spec.rb b/server-rails/spec/models/daily_event_summary_spec.rb similarity index 100% rename from spec/models/daily_event_summary_spec.rb rename to server-rails/spec/models/daily_event_summary_spec.rb diff --git a/spec/models/location_spec.rb b/server-rails/spec/models/location_spec.rb similarity index 100% rename from spec/models/location_spec.rb rename to server-rails/spec/models/location_spec.rb diff --git a/spec/models/traffic_cam_spec.rb b/server-rails/spec/models/traffic_cam_spec.rb similarity index 100% rename from spec/models/traffic_cam_spec.rb rename to server-rails/spec/models/traffic_cam_spec.rb diff --git a/spec/models/widget_spec.rb b/server-rails/spec/models/widget_spec.rb similarity index 100% rename from spec/models/widget_spec.rb rename to server-rails/spec/models/widget_spec.rb diff --git a/spec/rails_helper.rb b/server-rails/spec/rails_helper.rb similarity index 100% rename from spec/rails_helper.rb rename to server-rails/spec/rails_helper.rb diff --git a/spec/spec_helper.rb b/server-rails/spec/spec_helper.rb similarity index 100% rename from spec/spec_helper.rb rename to server-rails/spec/spec_helper.rb diff --git a/spec/workers/sha_poller_worker_spec.rb b/server-rails/spec/workers/sha_poller_worker_spec.rb similarity index 100% rename from spec/workers/sha_poller_worker_spec.rb rename to server-rails/spec/workers/sha_poller_worker_spec.rb diff --git a/spec/workers/weather_poller_worker_spec.rb b/server-rails/spec/workers/weather_poller_worker_spec.rb similarity index 100% rename from spec/workers/weather_poller_worker_spec.rb rename to server-rails/spec/workers/weather_poller_worker_spec.rb diff --git a/test/application_system_test_case.rb b/server-rails/test/application_system_test_case.rb similarity index 100% rename from test/application_system_test_case.rb rename to server-rails/test/application_system_test_case.rb diff --git a/test/controllers/.keep b/server-rails/test/controllers/.keep similarity index 100% rename from test/controllers/.keep rename to server-rails/test/controllers/.keep diff --git a/test/fixtures/.keep b/server-rails/test/fixtures/.keep similarity index 100% rename from test/fixtures/.keep rename to server-rails/test/fixtures/.keep diff --git a/test/fixtures/files/.keep b/server-rails/test/fixtures/files/.keep similarity index 100% rename from test/fixtures/files/.keep rename to server-rails/test/fixtures/files/.keep diff --git a/test/helpers/.keep b/server-rails/test/helpers/.keep similarity index 100% rename from test/helpers/.keep rename to server-rails/test/helpers/.keep diff --git a/test/integration/.keep b/server-rails/test/integration/.keep similarity index 100% rename from test/integration/.keep rename to server-rails/test/integration/.keep diff --git a/test/mailers/.keep b/server-rails/test/mailers/.keep similarity index 100% rename from test/mailers/.keep rename to server-rails/test/mailers/.keep diff --git a/test/models/.keep b/server-rails/test/models/.keep similarity index 100% rename from test/models/.keep rename to server-rails/test/models/.keep diff --git a/test/system/.keep b/server-rails/test/system/.keep similarity index 100% rename from test/system/.keep rename to server-rails/test/system/.keep diff --git a/test/test_helper.rb b/server-rails/test/test_helper.rb similarity index 100% rename from test/test_helper.rb rename to server-rails/test/test_helper.rb diff --git a/tmp/.keep b/server-rails/tmp/.keep similarity index 100% rename from tmp/.keep rename to server-rails/tmp/.keep diff --git a/vendor/.keep b/server-rails/vendor/.keep similarity index 100% rename from vendor/.keep rename to server-rails/vendor/.keep diff --git a/vendor/assets/stylesheets/active_admin.scss b/server-rails/vendor/assets/stylesheets/active_admin.scss similarity index 100% rename from vendor/assets/stylesheets/active_admin.scss rename to server-rails/vendor/assets/stylesheets/active_admin.scss diff --git a/bin/setup-phx b/setup-phx similarity index 100% rename from bin/setup-phx rename to setup-phx