[chronojump/michrolab] Added howto_news.txt
- From: Xavier Padullés <xpadulles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump/michrolab] Added howto_news.txt
- Date: Thu, 14 Jul 2022 16:37:57 +0000 (UTC)
commit 18c90cf9a58383536d4209d674e310394b6b5de6
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue Jul 12 12:54:07 2022 +0200
Added howto_news.txt
howto_news.txt | 9 +++++++++
src/sqlite/news.cs | 1 +
2 files changed, 10 insertions(+)
---
diff --git a/howto_news.txt b/howto_news.txt
new file mode 100644
index 000000000..9435cf9c7
--- /dev/null
+++ b/howto_news.txt
@@ -0,0 +1,9 @@
+At securitytesting
+1- put the image on securitytesting.chronojump.org /opt/srv/chronojump/static_news/latest_products
+
+At chronojump.org
+2- access mysql on chronojump.org (b6...)
+3- use chronojump
+4- insert into news values (NULL, 0, 0, "WICHRO: Wireless Race Kit", "WICHRO: Kit de carreras wireless",
"https://chronojump.org/product/wichro-races-kit/", "https://chronojump.org/es/product/kit-carreras-wichro/",
"- Easy alignment\n- Double beam\n- High power\n- Expandable battery\n- Allows any sprint or agility test\n-
Coding channels & individually coded", "- Fácil de alinear\n- Doble haz\n- Alta potencia\n- Batería
expandible\n- Permite cualquier test de sprint o agilidad\n- Canales de codificación y codificada
individualmente", "http://static.chronojump.org/latest_products/wichro-athletics_400w.png");
+5- change chronojump_news_datetime at /etc/chronojump.conf
+6- systemctl restart gunicorn
diff --git a/src/sqlite/news.cs b/src/sqlite/news.cs
index 1f87f61f6..c66b30127 100644
--- a/src/sqlite/news.cs
+++ b/src/sqlite/news.cs
@@ -45,6 +45,7 @@ class SqliteNews : Sqlite
//INSERT INTO news VALUES (NULL, 0, 0, "something newer", "una cosa más nueva",
"https://chronojump.org/shop/force-equipment/force-sensor/",
"https://chronojump.org/es/shop/material-de-fuerza/kit-sensor-de-fuerza/", "Desc of force sensor",
"Descripción del sensor de fuerza",
"https://chronojump.org/wp-content/uploads/2016/11/chronojump-logo-web-e1589545113863.png");
//INSERT INTO news VALUES (NULL, 0, 0, "something even more new spare_parts", "una cosa más y más
nueva spare_parts", "https://chronojump.org/product-category/races/races_spare_parts/",
"https://chronojump.org/es/categoria-producto/carreras/productos-_de_carreras_por_separado/", "Desc of
spare_parts", "Descripción de spare_parts",
"https://chronojump.org/wp-content/uploads/2020/10/web-selector-races-PARTS.png");
+ //see howto_news.txt
protected internal static new void createTable ()
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]