"Samkoda" - Social coding experiment
Above: screenshot of workon client script running on Ubuntu
Me and my samkoda friend have been discussing that sometimes you get the urge to build on your project, but do not have the energy to share on WhatsApp, Slack, Discord IRC or wherever you communicate with coding buddies. This is due to both not wanting to potentially interrupt/disturb, but also that it takes energy to write stuff, however small. :)
Instead, we would like to see each others statuses 'somewhere' when you start coding; similar to how the Friends view in Steam works for games! This has some consequences:
- It will not disturb/interrupt anyone
- There is no energy loss having to type 'do you want to code some with me now?'
- Make sure you have Python 3.6+ available
- Download "client/workon.py"
- In a terminal, write:
python3 workon.py <projectname>
Then follow instructions!
- Ändra på
cmdline=
raden imittprojekt.ini
till hela sökvägen till editorn. Viktigt:"..."
runtom! - Bygg en
mittprojekt.bat
fil som pekar utActivate.ps1
och kör workon
start powershell.exe -noexit -file "mittprojekt\venv\Scripts\Activate.ps1"
python workon.py mittprojekt
Exempel på struktur på hårddisken:
C:\projekt\MittProjekt\
- Här ligger projektets filer
C:\projekt\MittProjekt\venv
- Virtuell environment för projektet
C:\projekt\workon.py
- workon ligger "ovanför"
C:\projekt\mittprojekt.ini
- workon-cfg-script
C:\projekt\mittprojekt.bat
- startscript
cd client
python3 test_client.py
TBD