https://github.com/objarni/workon
Samkoda (Social coding experiment) MVP
https://github.com/objarni/workon
Last synced: 4 months ago
JSON representation
Samkoda (Social coding experiment) MVP
- Host: GitHub
- URL: https://github.com/objarni/workon
- Owner: objarni
- License: mit
- Created: 2021-02-07T08:50:43.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-02T12:36:52.000Z (about 5 years ago)
- Last Synced: 2025-02-06T11:55:17.946Z (over 1 year ago)
- Language: Python
- Size: 134 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# workon
"Samkoda" - Social coding experiment

Above: screenshot of workon client script running on Ubuntu
## Background
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:
1) It will not disturb/interrupt anyone
2) There is no energy loss having to type 'do you want to code some with me now?'
### Install and run client
1. Make sure you have Python 3.6+ available
2. Download "client/workon.py"
3. In a terminal, write:
python3 workon.py
Then follow instructions!
### Below untranslated How-to for Windows .bat file
### Hur bygger man en .bat fil som startar ens editor och en PowerShell i projektets .venv?
1. Ändra på `cmdline=` raden i `mittprojekt.ini` till hela sökvägen till editorn. Viktigt: `"..."` runtom!
2. Bygg en `mittprojekt.bat` fil som pekar ut `Activate.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
### Hur kör man klienttesterna?
cd client
python3 test_client.py
### Hur kör man servern?
TBD