<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.soylentnews.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Q.kontinuum</id>
	<title>SoylentNews - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.soylentnews.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Q.kontinuum"/>
	<link rel="alternate" type="text/html" href="https://wiki.soylentnews.org/wiki/Special:Contributions/Q.kontinuum"/>
	<updated>2026-05-25T17:08:22Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.4</generator>
	<entry>
		<id>https://wiki.soylentnews.org/index.php?title=DevelopmentVMHowto&amp;diff=9721</id>
		<title>DevelopmentVMHowto</title>
		<link rel="alternate" type="text/html" href="https://wiki.soylentnews.org/index.php?title=DevelopmentVMHowto&amp;diff=9721"/>
		<updated>2016-02-18T22:16:51Z</updated>

		<summary type="html">&lt;p&gt;Q.kontinuum: Add more detailed instructions on applying the upgrades file, add info about slash having admin rights&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Development]] - parent&lt;br /&gt;
&lt;br /&gt;
== Download and Install VM  ==&lt;br /&gt;
The Slashdev VM can be downloaded from http://vm.soylentnews.org/Slashdev_14.10.ova.  This is the latest Slashdev VM and has many enhancements over the original version. It is a VM that is designed to run on VirtualBox. Information and downloads of VirtualBox are available here: https://www.virtualbox.org.&lt;br /&gt;
&lt;br /&gt;
Once you get the VM downloaded and the VirtualBox up and running, you will want to do a '''File:Import Appliance''' in VirtualBox.  This will unpack the VM into you environment. Start up the VM and log in with the username and password of slash. &lt;br /&gt;
&lt;br /&gt;
The VM has port forwarding setup to you local system for ssh and http.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ssh: 8022&lt;br /&gt;
http: 1337&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For ssh your connection string should be:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ssh slash@127.0.0.1 -p 8022&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
User slash is in groups sudo and adm, so '''if''' you want to get a root shell you can get it by entering &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo bash&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Caution: Normally you won't need a root shell here.&lt;br /&gt;
&lt;br /&gt;
For websites, Apache will use the name localhost instead of 127.0.0.1 so you will need to use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;http://localhost:1337&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Check if you can access external servers (will be required if you want to install additional packages or directly checkout from github). E.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;ping soylentnews.org&amp;lt;/pre&amp;gt;&lt;br /&gt;
If the domain name cannot be resolved, you might want to shutdown the VM and add a bridged network adapter in network settings.&lt;br /&gt;
&lt;br /&gt;
==Setup the Environment ==&lt;br /&gt;
The slash user home directory is in /srv/slashdev/.  The slashcode GitHub repository is located in slashcode. This is where you will make changes to the code you want to test.  The actual slashcode install is located in slash.&lt;br /&gt;
&lt;br /&gt;
The first thing you should probably do is update the repo to the latest version.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/slashcode&lt;br /&gt;
git pull&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are a couple of scripts set up in the vm that make deploying and reloading Slashcode easy.  The first script is deployslash.sh and the second is reloadslash.sh.  These scripts are in the shash user's home directory.  The deployslash.sh script will cd into the slashcode directory and install the Slashcode to the appropriate locations and then stop the slash daemon, stop and start Apache, clear the memcache, and finally restart the slash daemon. The reloadslash.sh script does the last steps only and is generally needed when updating templates, vars, and other items within the admin interface of the slash site.  Most changes will not take effect right away due to caching. The reload will empty the caches and unload any running Perl scripts from memory.&lt;br /&gt;
&lt;br /&gt;
== MySQL Updates ==&lt;br /&gt;
We sometimes need to update the Slashdev environment to work with the new Slashcode.  The update files are normally in /srv/slashdev/slashcode/sql/mysql/upgrades.  The upgrades file has the latest updates since that last major version of slashcode.  The 14.10 version of the VM is fully up-to-date with with the 14.10 release of Slashcode, so no updates to MySQL are currently needed.  You will need to add any future DB updates that are listed in the upgrades file to keep the new code working properly.&lt;br /&gt;
&lt;br /&gt;
MySQL is accessed with root as the user and the database slashdev. To access the DB use the command:&lt;br /&gt;
&amp;lt;pre&amp;gt;mysql -u root slashdev&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On the mysql prompt, to apply the upgrades file, enter&lt;br /&gt;
&amp;lt;pre&amp;gt;mysql&amp;amp;gt; source slashcode/sql/mysql/upgrades&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Update Slash ==&lt;br /&gt;
Now lets update slash to our new code by running:&lt;br /&gt;
&amp;lt;pre&amp;gt;deployslash.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Making Your Own Changes ==&lt;br /&gt;
To do simple updates, you would make changes to the files in slashcode and redeploy using the deployslash.sh script.&lt;br /&gt;
&lt;br /&gt;
What if you want to develop code and have it merged into the main repo?  In this case you will need to setup your own copy of the repo do do your development work.  First if you do not have your own account on GitHub please set one up. Next go to the Slashcode site https://github.com/SoylentNews/slashcode and click on Fork in the upper right.  Fork the repo to your user account.&lt;br /&gt;
&lt;br /&gt;
Now on the VM go to slashcode.  We will setup your copy of the repo as a remote.  Run the commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git remote add {name} {url-to-your-GitHub-repo}&lt;br /&gt;
git fetch {name}&lt;br /&gt;
git checkout {name}/master&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Redeploy slash and you are working from your own repo.  As you may have noticed the primary work is being done on the master branch.  You will not need to worry about the other branches of the code for now.&lt;br /&gt;
&lt;br /&gt;
Once you get code you like, and have it committed to your personal fork, you can do a Pull Request, https://help.github.com/articles/using-pull-requests, that will create a ticket for the SoylentNews/slashcode repo to merge your commits to the master branch.  After proper testing by the Dev team and other sanity checks, you code will be merged and eventually put on to the production servers. See [[GitUse]] for more info about using git.&lt;br /&gt;
&lt;br /&gt;
Just a note: I am new to git, so the above directions are what I have been using.  If people have a better method for doing this please feel free to update this page with the new information --pauulej72.&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;/div&gt;</summary>
		<author><name>Q.kontinuum</name></author>
	</entry>
	<entry>
		<id>https://wiki.soylentnews.org/index.php?title=Suggestions&amp;diff=7716</id>
		<title>Suggestions</title>
		<link rel="alternate" type="text/html" href="https://wiki.soylentnews.org/index.php?title=Suggestions&amp;diff=7716"/>
		<updated>2014-06-17T21:44:35Z</updated>

		<summary type="html">&lt;p&gt;Q.kontinuum: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a compilation of Suggestions from various users. Think of it like a &amp;quot;wish list&amp;quot;. These differ from feature requests in that they are projects that may require a significant amount of time to implement. A system should be developed for selecting from one, and having the community vote on which to tackle.&lt;br /&gt;
&lt;br /&gt;
Suggestions can currently be added via suggestions@soylentnews.org or by typing &amp;quot;!suggestion [your suggestion here]&amp;quot; in our IRC rooms '''(currently not working)'''. You can also just add them below. You should check the [https://github.com/SoylentNews/slashcode/issues bug tracker on github] for bugs and feature requests, the [[TodoList]], or the respective team page before suggesting something to see if it is already being worked on.&lt;br /&gt;
&lt;br /&gt;
Teams: feel free to draw from this list and move to a todo list if you would like to tackle one (please remove from here if you do).&lt;br /&gt;
&lt;br /&gt;
*SoylentNewsRoundup or SNR (best stories, comments, journals, best of IRC)&lt;br /&gt;
*Articles Revisited: (by +5 commenters)&lt;br /&gt;
**research, correct, expand&lt;br /&gt;
**re-submit to topic &amp;quot;revisited.soylentnews.org&amp;quot;&lt;br /&gt;
**example: [[Articles:Watch_the_Watchers_with_Federal_Contracts_Database|Here]]&lt;br /&gt;
**Submit story for discussion/publicizing idea&lt;br /&gt;
*Add a &amp;quot;settled arguments&amp;quot; section to the wiki (example: the world population is out of control!)&lt;br /&gt;
*Create topic/location for SoylentNews updates on main site&lt;br /&gt;
*Add markdown support in SoylentNews ex: http://dillinger.io/&lt;br /&gt;
*SoylentNews alternate logo S/N (signal/noise) (also SN = Tin atomic symbol)&lt;br /&gt;
*Enable Internet Archive auto-crawling&lt;br /&gt;
**need to update robots.txt?&lt;br /&gt;
*Allow users to mod stories down.&lt;br /&gt;
*Allow up-modding of journal entries&lt;br /&gt;
*Allow editors to tag stories in the pipeline as a dupe &lt;br /&gt;
*Form to submit bugs on SoylentNews like submitting a story (using slash)&lt;br /&gt;
**Pre-populate the &amp;quot;story&amp;quot; with prompts for desired info (summary, severity, error message seen, steps to reproduce, etc.)&lt;br /&gt;
*Add ability to easily submit journal entries to the stories queue (I suggest instead they could be submitted as an &amp;quot;article&amp;quot; with links to journal and a &amp;quot;summary&amp;quot; of journal content)&lt;br /&gt;
*Host our own advertisements&lt;br /&gt;
**Keep them in separate areas (sidebars, boxes)&lt;br /&gt;
**Keep them (mostly) static&lt;br /&gt;
**Keep the off-site javascript requirements for them minimal&lt;br /&gt;
*Banner ads that people can use as forum signatures, etc. to spread the word about SoylentNews. See [[Banner ads|this archived forum thread]] for more information.&lt;br /&gt;
*Extend validity of mod points (new mod points only awarded once old mod points were used up, but once a user gets mod points he can use them for 3-4 days for topics he cares about instead of just using them up)&lt;/div&gt;</summary>
		<author><name>Q.kontinuum</name></author>
	</entry>
</feed>