[Tool/Web/Other] create-samp-app - Quickly set up your dev/server environment - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Tools and Files (
https://sampforum.blast.hk/forumdisplay.php?fid=82)
+---- Thread: [Tool/Web/Other] create-samp-app - Quickly set up your dev/server environment (
/showthread.php?tid=639367)
create-samp-app - Quickly set up your dev/server environment -
Misiur - 16.08.2017
Disclaimer: I had no idea node and electron apps are so large in size until I finished. Should've guessed electron packs whole chromium Ї\_(ツ)_/Ї
create-samp-app
I got tired of setting up my workbench and wrote a tool to quickly set up my pawn environment. This is a CLI tool. Run it, get asked a few questions about what you want installed, and you are done. Add it to your $PATH to access it anywhere.
Currently there are only plugins and includes I use, feel free to request more (or better yet, create a PR on github).
Usage:
Code:
create-samp-app [target dir]
Code:
Available flags:
-h, --help This help message
-t, --target Platform target
-d, --delete Remove default filterscripts and includes
-c, --compiler PAWN compiler
-i, --includes Includes
-p, --plugins Plugins
-m, --mysql Mysql plugin version
-s, --mysql-static Use statically compiled mysql plugin (linux only)
Download: create-samp-app.zip
Source: Github
But wait! There's more
Then I decided I should write an app (to check out electron).
create-samp-app-gui
Download: create-samp-app-gui-win32-x64.zip create-samp-app-gui-win32-x64.7z
Source: Github
Re: create-samp-app - Quickly set up your dev/server environment -
Alex Magaсa - 16.08.2017
Looks interesting, good concept
keep it up!
Re: create-samp-app - Quickly set up your dev/server environment -
Roozevelt - 16.08.2017
Well done mate, thank you for sharing
Re: create-samp-app - Quickly set up your dev/server environment -
FreAkeD - 16.08.2017
Holy smokes, this is awesome! Great job
.
Re: create-samp-app - Quickly set up your dev/server environment -
OneDay - 16.08.2017
How does it made code look like?
Re: create-samp-app - Quickly set up your dev/server environment -
Misiur - 16.08.2017
Currently it does not touch code, just sets up server + compiler, then downloads plugins and includes and puts their files in corresponding folders (.dll/.so to plugins, .inc to pawno/include). You have to write gamemode/fs yourself and include dependencies as usual.
Re: create-samp-app - Quickly set up your dev/server environment -
Eoussama - 16.08.2017
It is really handy, tremendous work,
Re: create-samp-app - Quickly set up your dev/server environment -
Xeon™ - 16.08.2017
Why such badass work?
that awesome. Good job Misiur