This commit is contained in:
piair 2023-07-01 14:06:48 +02:00
parent cf88ede967
commit 524e412b40
4 changed files with 5 additions and 4 deletions

View File

@ -40,7 +40,7 @@ scheduler.add_job( # on relance le job
year="*", month="*", day="*", hour="0", minute="0", second="0"
), # ---
name="Daily refresh", # ---
id=99 # ---
id="99" # ---
)
def start_ms(i):
@ -407,4 +407,4 @@ def maxi(dict):
if __name__ == '__main__':
update_jobs()
edit_version()
app.run(host='0.0.0.0', port=3456, debug=True)
app.run(host='0.0.0.0', port=1234, debug=True)

View File

@ -122,7 +122,7 @@
</tr>
</table>
<input type="submit" class="confirm" name="data" id="submit" value="Update !" class="button"/>
<input type="submit" class="confirm" name="data" id="submit" value="Create !" class="button"/>
</form>

View File

@ -1 +1 @@
sudo docker build --no-cache -t msrewards . && sudo docker run -d --restart unless-stopped -p 3456:3456 -ti --shm-size=2gb --name Dev msrewards
sudo docker build --no-cache -t msrewards . && sudo docker run -d --restart unless-stopped -p 1234:1234 -p 2345:2345 -ti --shm-size=2gb --name Dev msrewards

1
dev_build.sh Normal file
View File

@ -0,0 +1 @@
sudo docker build --no-cache -t msrewards-dev . && sudo docker run -p 3456:3456 -ti --shm-size=2gb --name Dev msrewards-dev