项目作者: scala-exercises

项目描述 :
Scala Exercises for the Scala Optics library Monocle http://julien-truffaut.github.io/Monocle/
高级语言: Scala
项目地址: git://github.com/scala-exercises/exercises-monocle.git
创建时间: 2017-03-01T11:20:37Z
项目社区:https://github.com/scala-exercises/exercises-monocle

开源协议:Apache License 2.0

下载


Scala Exercises - Monocle

This repository hosts a template content library for the Scala Exercises platform, including interactive exercises related to the Monocle optics library for Scala (and Scala.js).


Run Locally

  • Clone this repository, compile and publish the project:
  1. git clone git@github.com:scala-exercises/exercises-monocle.git
  2. cd exercises-monocle/
  3. sbt compile publishLocal # it is important to first run the `compile` command alone
  • Clone the evaluator and run it:
  1. git clone git@github.com:scala-exercises/evaluator.git
  2. cd evaluator/
  3. sbt "project evaluator-server" run
  • Clone the scala-exercises fork:
  1. git clone git@github.com:scala-exercises/scala-exercises.git
  • Follow the database setup instructions given
    here

  • Add the following line the server/conf/application.dev.conf:

  1. evaluator.secretKey="secretKey"
  • Run the server:
  1. sbt -mem 1500 run

About Scala exercises

“Scala Exercises” brings exercises for the Stdlib, Cats, Shapeless and many other great libraries for Scala to your browser. Offering hundreds of solvable exercises organized into several categories covering the basics of the Scala language and it’s most important libraries.

Scala Exercises is available at scala-exercises.org.

Contributing

Contributions welcome! Please join our Gitter channel
to get involved, or visit our GitHub site.

License

Copyright (C) 2015-2016 47 Degrees, LLC.
Reactive, scalable software solutions.
http://47deg.com
hello@47deg.com

Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.