syxolk / euro2024

Euro 2024: Betting with your friends
https://www.wetten2024.de
52 stars 22 forks source link

Question #36

Closed tuudik closed 3 years ago

tuudik commented 6 years ago

Hi! I see lots of activity in this repository. Are You preparing for the FIFA2018?

syxolk commented 6 years ago

Yes! :smile_cat:

tuudik commented 6 years ago

Do you have some planned date for release?

Awesome work btw!

syxolk commented 6 years ago

I'm currently cleaning up the code. It should be ready in one or two weeks.

syxolk commented 6 years ago

As you can see there are still open issues but the important things are implemented.

tuudik commented 6 years ago

Excellent job! I am already using it for month:) And updating all the time:)

I would suggest tho some small manual how to configure:) I use systemd for example to run it.

/lib/systemd/system/fifa2018.service:

[Unit]
Description=FIFA 2018 betting
After=network.target

[Service]
Type=simple
User=nodejs
Group= nodejs
WorkingDirectory=/srv/www/fifa/
ExecStart=/usr/bin/node /srv/www/fifa/index.js
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=fifa2018
Restart=on-failure
EnvironmentFile=/etc/fifa2018/config
[Install]
WantedBy=multi-user.target

/etc/fifa2018/config:

NODE_ENV=production
UTC_OFFSET=+0300
DB_USER=
DB_PASSWORD=
DB_HOST=localhost
DB_NAME=
DB_PORT=5432
SESSION_SECRET=octocat
ORIGIN=https://localhost
FACEBOOK_APP_ID=
FACEBOOK_APP_SECRET=
GOOGLE_APP_ID=
GOOGLE_APP_SECRET=
MAIL_SOLUTION=
MAILGUN_DOMAIN=
MAILGUN_API_KEY=
MAIL_FROM=
syxolk commented 3 years ago

Probably not relevant anymore. I'm going to use docker this time.