Skip to content

Conversation

thenav56
Copy link
Member

@thenav56 thenav56 commented May 3, 2023

NOTE: Don't delete Dev branch

After deployment (UPDATE: THIS IS ALREADY DONE)

From #667

# Create a simple snapshot of current user_group mapping session data (Just in case)
docker compose exec postgres psql -h localhost -U mapswipe_workers mapswipe -c '\copy (SELECT * FROM mapping_sessions_user_groups) to STDOUT CSV HEADER;' > /tmp/user-group-session-data-`date +%Y-%m-%d.%H:%M:%S`.csv

# Add backtrack user-group data and flag to re-calculate aggregated data
docker compose exec -T postgres bash -c 'psql -h localhost -U $POSTGRES_USER $POSTGRES_DB' < postgres/scripts/backtrack_user_group_mapping_sessions.sql

# Also flag to re-calculate user aggregated data
docker compose exec postgres bash -c 'psql -h localhost -U $POSTGRES_USER $POSTGRES_DB'
# -- Inside PSQL shell
UPDATE aggregated_aggregatedtracking SET "value" = '2022-01-01' WHERE "type" = 0;

# Run the aggregated calculation ( Use tmux session)
docker-compose exec django ./manage.py update_aggregated_data

This PR includes

ofr1tz and others added 20 commits December 7, 2022 16:09
- Add MAPSWIPE_ENVIRONMENT as prod in docker-compose.yml
…Form component

This is part of a WIP to refactor each project type into a separate 'New Project' subform.
- Update README
- Update package.json
Configure project types available in manager dashboard
Add namespace for file name in the storage
Move heat map when user pans through world copies
- Set hours, minutes, seconds and milliseconds after modifying date
refactor(manager-dashboard): create reusable BasicProjectInformationForm component
…pping-session

Add script for backtrack calculation
@thenav56 thenav56 requested review from tnagorra and frozenhelium May 3, 2023 05:45
validateProjectIdOnHotTaskingManager,
} from './utils';
import useProjectOptions from './useProjectOptions';
// eslint-disable-next-line postcss-modules/no-unused-class
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should not disable the rule

@danbjoseph
Copy link
Member

@thenav56 in Slack you said this could be merged but there is an open comment/conversation by @tnagorra ?

@thenav56 thenav56 marked this pull request as draft May 4, 2023 12:06
ElJocho and others added 2 commits May 16, 2023 13:19
Node 14 not supported for firebase-tools 12
@thenav56 thenav56 marked this pull request as ready for review May 18, 2023 11:15
@thenav56 thenav56 merged commit 1959557 into master May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants