Skip to content

nebur395/uCode17

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REC&MAKE | Team Machine Lenin

Start using this App

Assuming you have JDK 8 already installed, follow this instructions:

  1. Install Scala in your system (you will need it to run the App) from here. And don't forget to set up the enviroment variables as it's shown here.
  2. Install Scalatra following the instructions given in the official webpage.
  3. Clone this repository:
$ git clone https://github.com/nebur395/uCode17

Build & Run

SBT is the tool used to build and run this Scala project. It is a common way to run when developing an Scala application, it will manage all your dependencies and will run the JVM needed to start the Scala aplication. When you type ./sbt an interpreter will open where you will type jetty:start in order to run this app. To sum up:

$ cd uCode17
$ ./sbt
> jetty:start

Then access http://localhost:8080/ in your browser.

Test

SBT allows you to run the tests defined on src/test:

$ git clone https://github.com/nebur395/uCode17
$ cd uCode17
$ ./sbt
> test

Other commands

>clean allows you to remove the content in the target folder which will cause SBT to check the dependencies again. If any dependency is not updated, it will automatically download the correct version.

EditorConfig

EditorConfig helps developers maintain consistent coding styles between different editors and IDEs. It is a file format for defining coding styles and a collection of text editor plugins that enable editors to read the file format and adhere to defined styles. You need to create a .editorconfig file in which you define the coding style rules. It is similar to the format accepted by gitignore.

IDEs supported by EditorConfig

These editors come bundled with native support for EditorConfig. Everything should just work: BBEdit, Builder, CLion, GitHub, Gogs, IntelliJIDEA, RubyMine, SourceLair, TortoiseGit, WebStorm.

IDEs not supported by EditorConfig file

To use EditorConfig with one of these editors, you will need to install a plugin: AppCode, Atom, Brackets, Coda, Code::Blocks, Eclipse, Emacs, Geany, Gedit, Jedit, Komodo, NetBeans, NotePadd++, PhpStorm, PyCharm, Sublime Text, Textadept, textmate, Vim, Visual Studio, Visual Studio Code, Xcode