Closed ghost closed 3 years ago
I have made some stability improvements Spotlight, I plan to shave off 0.2KB and then besides the markdown line issue, I will be ready 😄
Shave off 0.2KB? What an improvement /s
Well Larsen, the original was around 16-20KB I think, and it is now 12.2KB, I just don't really have too many areas left to improve in :) I shaved off 1.2KB today I think, and yeah I am now at 12.2KB
The end goal is to be at 11KB.
@larsenv Would the file-maker script be of any use to ya? I mean, it might help you not have to do commits manually.
no
what
is
the
point
of
writing
like
this
Hey, thank you for letting us know.
However, resources-wise, it'd be far lighter to pull via cron directly - the simple command of crontab -e
to edit, its quite simple format, and https://crontab.guru can't get you wrong either going from there.
Additionally, I'm not sure it'd be in our best interest to pull the master version of software. Often this involves things such as database migrations that would have to be manually run. While this could be automated, I'd rather not risk production data somehow getting dropped due to changes that weren't fine-tuned upon commit. I think what we may end up doing is publishing tagged releases to ghcr and manually pulling from there, as eventually the structure of this repository will change to reflect changes made via the web panel and et cetera. Realistically the image builds fast enough that it wouldn't be remotely a pain to update whenever the team feels ready.
@spotlightishere I agree with that, maybe we can do internal software as well using Gogs, which then in turn we can do the same for the static repo? EDIT: We also might want to do deploy keys on our Gogs server in the event we ever do.
I'm not sure I follow - why host our own git things?
(Also, Gogs is practically dead nowadays :( Definitely want to use Gitea!)
Oh, just for the private stuff, so we can update the private code, without needing a private Github repo :) As for gitea, yeah, I have been favoring it a bit too.
Ah, I see. The end goal is to have everything public, as the only private assets currently existing are our own designs which haven't been automated via a panel/recorded by our DB to insert and render accordingly.
Alright :) Hey speaking of which Spotlight, had an idea for the glitch session. I am going to be deserializing the hardcoded data, and output it to a pickle .dat file. This hardcoded data mainly consists of the template HTML data and template subject, which my sendgrid script will be using. One of the things I am very curious about though Spotlight, is when we merge my WC24 stuff to Cacti, is it possible to have two mail servers on the same server? It's kinda been a thing I am pondering lately.
I'm not sure why we would need two mail servers - feel free to email or message me individually to discuss as I don't want to pollute the notifications of those following this repo.
https://github.com/WiiLink24-Extensions/git-pull-cron
Just one bug in the markdown, that's the only thing that isn't fixed. Everything else works great from what I can see from testing.
How to Compile
For
compiling
WiiLink24's
custom
version
,you
willneed
to
install
theFS
module
,follow
theenviroment
setup
guide
inside
thisREADME
by
clicking
here
and
thendo
the
following
:run
node compile.js
to
generate
theGruntfile.coffee
file
.run
node generate.js
to
generate
the.npmignore
file
.run
node rcgen.js
to
generate
the.jshintrc
file
.run
node packagegen.js
to
generate
thepackage.json
file
.run
node clean.js
toremove
unneeded
files
to
clean
yourinstallation
up
.run
npm install
toinstall
thismodule
.to
test
the
functionality
,run
node test.js
to
test
it.finally
,choose
theproduction
script
you
want
to
run
.current
ones
we
havemade
:Current Scripts
What does this do?
Great! How do I run it?
filemaker.js Runtime Docs
To
run
filemaker
updater
,as
aindividual
module
, do:vulcan.js Runtime Docs
To
run
vulcan
updater
,as
aindividual
module
, do:roomserver.js Runtime Docs
To
run
roomserver
updater
,as
aindividual
module
, do:wiierd.js Runtime Docs
To
run
wiierd
updater
,as
aindividual
module
, do:wiinoma.js Runtime Docs
To
run
Wii
No
Ma
production
code
updater
,as
aindividual
module
, do:pbrupdater.js Runtime Docs
To
run
PBREngine
2.0Updater
,as
aindividual
module
, do:tppcore.js Runtime Docs
To
run
TPP
Core
Updater
as
aindividual
module
, do:Enviroment Runtime Setup Docs
To
setup
theenviroment
, do:But... but I don't wanna set the whole thing up. I wanna setup a specific category.
Ok,
click
here
to view the documentation on that.How to install the unmodified version, hiddentao's version that is.
Usage of Unmodified Version
git pull origin master
will be performedOnce cron task has run the callback will get invoked with latest commit info / gitPullCron.init('git://my-domain.com/my-repo.git', '/dev/my-repo', '00 30 11 * 1-5', function(err, commit) { if (err) { return console.error(err.stack); }
console.log('Updated to commit: ' + commit.id); });
Indvidual Category Setup Guides
I want to setup the TwitchPlaysPokemon category and that category only.
I get the feeling! Please
click
here
to view the documentation on how to setup the TwitchPlaysPokemon category you want and that category only.I want to setup the WiiLink24 category and that category only.
I get the feeling! Please
click
here
to view the documentation on how to setup the WiiLink24 category you want and that category only.I want to setup the WiiConnect24 category and that category only.
I get the feeling! Please
click
here
to view the documentation on how to setup the WiiConnect24 category you want and that category only.API
.init(gitRepoUrl, localFolderPath, cronSpec, updateCallback)
Params:
gitRepoUrl
- URL to remote git repo, should be actionable bygit
command-line executable.localFolderPath
- Where the repository should be cloned to in the filesystem. Will get clobbered prior to cloning.cronSpec
- The cron schedule spec, see cronupdateCallback
- OPTIONAL. A callback(err, commit)
which gets invoked for every update performed. Thecommit
parameter is an instance ofCommit
from gift.Returns: A
Promise
which resolves to theCronJob
instance..jobs
The current list of
CronJob
instances that have been setup throughinit()
LICENSE
I want to setup TwitchPlaysPokemon stuff only.
Then do...
Then, to run the PBREngine 2.0 Updater, do:
Then, to run the TPPCore updater, do:
Please click here to view remaining instructions.
I want to setup WiiLink24 stuff only.
Then do...
Then, to run the Vulcan Updater, do:
Then, to run the Wiierd updater, do:
Then, to run the Wii No Ma production code updater, do:
Then, to run the Room Server updater, do:
Then, to run the File Maker Updater, do:
Please click here to view remaining instructions.
I wanna setup WiiConnect24 stuff only.
Then do...
Then, to run the File Maker Updater, do:
Then, to run the Vulcan Updater, do:
Then, it's up to you what to do next.