Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Will Billingsley
lavamaze
Commits
7249fe8b
Commit
7249fe8b
authored
Sep 10, 2018
by
Will Billingsley
Browse files
Added README.md
parent
7daa252b
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
0 → 100644
View file @
7249fe8b
# play-scala-seed
This is a seed project based on a giter8 template.
To run the project, assuming you have sbt installed
(it is installed for you on turing), cd into its top-level directory and
run:
```
sh
sbt
```
Then, from the sbt prompt, to start it on port 1234
```
sh
run 1234
```
If you are on a shared machine (eg, turing) you should
choose a port number nobody else is using. On turing,
there is a script
`my_tomcat_ports`
that can give you
some random port numbers to use.
To stop the server, press Ctrl-d
To exit the sbt prompt, press Ctrl-d again
### Changes to the giter8 template
I have made some changes to the
*
**Added Hopper as a repository**
The Scala Build Tool (sbt) knows how to fetch libraries for you.
I have added Artifactory on Hopper as a source of libraries.
*
**Changed the Content-Security-Policy**
Out-of-the-box, Play has strict security settings, including setting
the Content-Security-Policy header to 'self' which might prevent your
pages from loading other scripts. I've relaxed this.
*
**Added Play JSON**
I have added the library import for the JSON parsing library,
and a couple of examples
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment