<metaname="description"content="Note: This is only useful for people who are looking to contribute to the ENiGMA½ source base itself. Those that are just setting up a new BBS system do not need this section."/>
<metaproperty="og:description"content="Note: This is only useful for people who are looking to contribute to the ENiGMA½ source base itself. Those that are just setting up a new BBS system do not need this section."/>
{"datePublished":"2023-10-15T23:34:51+00:00","description":"Note: This is only useful for people who are looking to contribute to the ENiGMA½ source base itself. Those that are just setting up a new BBS system do not need this section.","mainEntityOfPage":{"@type":"WebPage","@id":"/enigma-bbs/installation/development.html"},"publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"/enigma-bbs/assets/images/enigma-logo.png"}},"url":"/enigma-bbs/installation/development.html","@type":"BlogPosting","headline":"Development Environment Setup","dateModified":"2023-10-15T23:34:51+00:00","@context":"https://schema.org"}</script>
<p><em>Note:</em> This is only useful for people who are looking to contribute to the ENiGMA½ source base itself. Those that are just setting up a new BBS system do not need this section.</p>
<p>The easiest way to get started with development on ENiGMA½ is via the pre-configured Visual Studio Code remote docker container environment. This setup will download and configure everything needed with minimal interaction. It also works cross-platform.</p>
<ul>
<li>Install <ahref="https://code.visualstudio.com/download">Visual Studio Code</a></li>
<li>Clone the <ahref="https://github.com/NuSkooler/enigma-bbs">ENiGMA½</a> repository.</li>
<li>Choose “Open Folder” from Visual Studio Code and open the location where you cloned the repository.</li>
</ul>
<p>That’s it! Visual Studio Code should prompt you for everything else that is needed, including some useful extensions for development.</p>
<h2id="tasks">Tasks</h2>
<p>Once it completes, there are a few tasks and run-configs that are useful. Open up the command pallete and search/choose “Tasks> Run Task”. From there you can run the following tasks:</p>
<p>This task will start the Jekyll server to perform local testing of changes to documentation. After running this task, open a browser to (http://localhost:4000/enigma-bbs/) to see the documentation.</p>
<p>When the image is created the Jekyll bundles are installed, so in general there shouldn’t be much need to run this task. This is available however in case soemthing goes wrong or you are working on the Jekyll setup itself.</p>
<p>Used to re-generate the node modules. Generally shouldn’t be necessary unless something is broken or you are adding/changing versions of dependencies.</p>
<h3id="enigma-new-configuration">ENiGMA½ new configuration</h3>
<p>This task executes <codeclass="language-plaintext highlighter-rouge">oputil.js</code> in order to create a new BBS configuration (useful if you have just checked out the code and haven’t setup any configuration yet.)</p>
<h2id="run--debug-config">Run / Debug config</h2>
<p>There is also a default “Launch Program” config (hotkey access via F5 / Ctrl-Shift-D.) This will launch ENiGMA½. Once it has launched, access the system via telnet, port 8888 as usual.</p>
</div>
<divclass="PageNavigation">
<aclass="btn"style="float:left;margin-right: 20px;"href="/enigma-bbs/installation/production.html">« Production Installation</a>