SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Tools and Files

Reply
 
Thread Tools Display Modes
Old 16/08/2017, 09:19 AM   #1
Misiur
High-roller
 
Misiur's Avatar
 
Join Date: Jul 2009
Location: Poland
Posts: 2,529
Reputation: 554
Default create-samp-app - Quickly set up your dev/server environment

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

Last edited by Misiur; 16/08/2017 at 05:37 PM.
Misiur is offline   Reply With Quote
Old 16/08/2017, 09:37 AM   #2
Alex Magaña
High-roller
 
Alex Magaña's Avatar
 
Join Date: Oct 2012
Location: 𝕭𝖗𝖔𝖙𝖍𝖊𝖗𝖍𝖔𝖔𝖉
Posts: 2,155
Reputation: 218
Default Re: create-samp-app - Quickly set up your dev/server environment

Looks interesting, good concept keep it up!
__________________

HOME --- FORUMS --- DISCORD --- SERVER
SAMH: Prop Hunt server is coming soon!
Alex Magaña is offline   Reply With Quote
Old 16/08/2017, 10:23 AM   #3
Roozevelt
Gangsta
 
Roozevelt's Avatar
 
Join Date: Jan 2016
Location: Tunsia
Posts: 529
Reputation: 154
Default Re: create-samp-app - Quickly set up your dev/server environment

Well done mate, thank you for sharing
__________________
• Left SA-MP.
• Roosevelt's stunt map pack : Click here
• SEF community
• Join now

Support my music : https://www.youtube.com/watch?v=1ats...&start_radio=1
Roozevelt is offline   Reply With Quote
Old 16/08/2017, 10:28 AM   #4
FreAkeD
Gangsta
 
FreAkeD's Avatar
 
Join Date: May 2012
Location: Australia
Posts: 630
Reputation: 87
Default Re: create-samp-app - Quickly set up your dev/server environment

Holy smokes, this is awesome! Great job .
FreAkeD is offline   Reply With Quote
Old 16/08/2017, 11:51 AM   #5
OneDay
Huge Clucker
 
Join Date: Sep 2015
Posts: 292
Reputation: 128
Default Re: create-samp-app - Quickly set up your dev/server environment

How does it made code look like?
OneDay is offline   Reply With Quote
Old 16/08/2017, 11:57 AM   #6
Misiur
High-roller
 
Misiur's Avatar
 
Join Date: Jul 2009
Location: Poland
Posts: 2,529
Reputation: 554
Default Re: create-samp-app - Quickly set up your dev/server environment

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.
Misiur is offline   Reply With Quote
Old 16/08/2017, 12:42 PM   #7
Eoussama
High-roller
 
Eoussama's Avatar
 
Join Date: Jul 2016
Location: Kingdom of Morocco // Tangier
Posts: 1,072
Reputation: 267
Default Re: create-samp-app - Quickly set up your dev/server environment

It is really handy, tremendous work,
__________________

|===[Web taxi]===|
List of my work
Github
Pastebin

|===[Interesting topics]===|
Semantic Versioning
Eoussama is online now   Reply With Quote
Old 16/08/2017, 12:52 PM   #8
Xeon™
Banned
 
Join Date: Jul 2017
Location: Earth
Posts: 461
Reputation: 96
Default Re: create-samp-app - Quickly set up your dev/server environment

Why such badass work?

that awesome. Good job Misiur
Xeon™ is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create samp server in W2003? DGRP Server Support 11 12/01/2015 11:57 AM
Hello, I know how to create a server on SAMP Rooxas1997 Server Support 4 08/03/2010 02:24 PM
create map 4 samp server diablo999 Help Archive 9 19/06/2009 11:18 AM
How to create a samp server not on my computer ? mdaniel Server Support 4 07/02/2009 09:58 PM


All times are GMT. The time now is 08:31 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.