Skip to content

JoeMansour2003/Afternoon-Activity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Afternoon Activity Website for Camp Transfiguration

The goal is to simplify and automate the way campers receive and pick afternoon activities.

Camp Transfiguration Afternoon Activity Site

http://staff.camptransfiguration.org

Camp Transfiguration Site

https://www.camptransfiguration.org

Activity Selector Page

image

Cabin View Page

Screenshot 2024-09-20 at 7 00 29 PM

Camper Activity Selection Page

Screenshot 2024-09-20 at 7 05 41 PM Screenshot 2024-09-20 at 7 07 20 PM

Campers For Selected Activity View

Screenshot 2024-09-20 at 7 10 09 PM

Dev Notes

Theme

If you make any changes to the custom colours run the following command in the sass afternoon_activity/static/afternoon_activity/scss/custom.scss afternoon_activity/static/afternoon_activity/scss/custom.css or if you are in the path just do sass custom.scss custom.css

command to drop all tables:

DO $$ DECLARE
    r RECORD;
BEGIN
    FOR r IN (SELECT tablename FROM pg_tables WHERE schemaname = 'public') LOOP
        EXECUTE 'DROP TABLE IF EXISTS ' || quote_ident(r.tablename) || ' CASCADE';
    END LOOP;
END $$;

Create Django admin

python3 manage.py createsuperuser

RUN SERVER 24/7 nohup python3 manage.py runserver 0.0.0.0:8000 & on the server

to list all running instances do ps aux | grep manage.py

you end up getting ec2-user 37905 0.5 2.0 100000 12345 pts/0 S 00:00 0:05 python3 manage.py runserver 0.0.0.0:8000 ec2-user 37908 0.0 0.0 10540 920 pts/0 S 00:00 0:00 grep manage.py

To kill a process you need to do Kill ex: Kill 37905

About

Afternoon Activity Data Solution for Camp Transfiguration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors