stopstalk / stopstalk-deployment

Stop stalking and start StopStalking :wink:
https://www.stopstalk.com
MIT License
313 stars 96 forks source link

UVa online judge as a profile site #186

Closed raj454raj closed 7 years ago

raj454raj commented 7 years ago

Deployment procedure to be laid out

raj454raj commented 7 years ago

Step 1: Add a form in which users can add their uva handles (Note: this will be only for the auth_user table. Write a line here to tell the user that he/she can update the uva handles of custom users once complete deploy is finished)

Step 2: Populate the uvajudge db locally and migrate it to the prod server. The problem table and the usertoid table (if there are a lot of users who have filled the form in Step 1)

Step 3: Merge the uva git branch locally and push it to origin.

Step 4: Write a bash script - Things to include in this -

Step 5: Complete the deploy by merging the uva branch and then run the bash script.

raj454raj commented 7 years ago

Make sure the bash script includes a script which converts None to "" in the db tables.

hharchani commented 7 years ago

According to this its done :P https://www.facebook.com/stopstalkcommunity/posts/400750750256546

raj454raj commented 7 years ago

I suppose you are assuming -

"We have started our process of adding UVa Online Judge (https://uva.onlinejudge.org) on StopStalk." 

means

"We have successfully added UVa Online Judge on StopStalk" 

? :hushed: