FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

A series of trivial changes to the main README.md · devhttps/frontend@01b36c3 · GitHub

Commit 01b36c3

Browse files
A series of trivial changes to the main README.md
1 parent 84d6104 commit 01b36c3

1 file changed

Lines changed: 20 additions & 27 deletions

File tree

‎README.md‎

Lines changed: 20 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
We're hiring!
22
--------
3-
Ever thought about joining us?<br/>
3+
Ever thought about joining us?
44
http://developers.theguardian.com/join-the-team.html
55

66
Frontend
77
========
8-
The Guardian website frontend.
8+
[The Guardian](www.theguardian.com) website frontend.
99

1010
Frontend is a set of Play Framework 2 Scala applications.
1111

@@ -21,9 +21,7 @@ On the server
2121
-------------
2222

2323
* Every request can be cached and has an appropriate Cache-Control header set.
24-
* Each request may only perform one I/O operation on the backend. (you cannot
25-
make two calls to the content API or any
26-
other 3rd party)
24+
* Each request may only perform one I/O operation on the backend. (you cannot make two calls to the content API or any other 3rd party)
2725
* The average response time of any endpoint is less than 500ms.
2826
* Requests that take longer than two seconds will be terminated.
2927

@@ -40,7 +38,7 @@ Contents:
4038
* [Additional Documentation](#additional-documentation)
4139

4240
## Local Test Server setup
43-
You need A Mac or Linux PC (ubuntu).
41+
You need a Mac or Linux PC (Ubuntu).
4442

4543
Before checking out the repository you may need to [add an SSH key to your GitHub account](https://help.github.com/articles/generating-ssh-keys/).
4644

@@ -53,11 +51,11 @@ Before checking out the repository you may need to [add an SSH key to your GitHu
5351
cd frontend
5452
```
5553
56-
2. Run ```./setup.sh``` to install dependencies and compile assets
54+
2. Run `./setup.sh` to install dependencies and compile assets
5755
3. All being well, you should be able to [run the app](#run-the-app)
5856
5957
### Manual
60-
Install each of the things listed:
58+
Install each of the things listed below:
6159
6260
#### Configuration files
6361
@@ -76,7 +74,7 @@ STAGE=DEV
7674
7775
* `~/.aws/credentials`
7876
79-
Ask your team mate to create an account for you and securely send you the access key. For security, you must enable MFA - ask if you're not sure what this means.
77+
Ask your team mate to create an account for you and securely send you the access key. For security, you must enable MFA - ask if you're not sure what this means.
8078
```
8179
[nextgen]
8280
aws_access_key_id=[YOUR_AWS_ACCESS_KEY]
@@ -129,7 +127,7 @@ Ubuntu:
129127
```
130128
sudo apt-get install ruby ruby-dev
131129
```
132-
#### [bundler](http://gembundler.com/)
130+
#### [Bundler](http://gembundler.com/)
133131
134132
Ubuntu/Mac:
135133
```
@@ -224,7 +222,7 @@ git clone git@github.com:guardian/frontend.git
224222
225223
Install to your IDE from http://editorconfig.org/#download
226224
227-
###intelliJ metadata
225+
###IntelliJ metadata
228226
To create project files for use in IntelliJ, you need to make sure you install the Scala plugin from Preferences->Plugins. It supports SBT and Play.
229227
Then load IntelliJ, then click Import project and import the directory as an SBT project. Default settings are fine, except you need to make sure you choose JDK 1.8 (under JVM - Custom) otherwise it won't import correctly - You can find the location by pasting `/usr/libexec/java_home` into your terminal.
230228
@@ -250,14 +248,12 @@ If it is owned by root, then take ownership of it
250248
#### Global install permissions errors
251249
The script installs global npm packages without sudo. If you get npm permission errors, follow the guide to using npm without sudo [here](https://github.com/sindresorhus/guides/blob/master/npm-global-without-sudo.md).
252250
253-
###phantomjs permissions errors (OSX)
254-
If you get an error about not having permissions to execute phantomjs during `make compile`, your machine is probably set up as managed and you'll need to ask IT to make it unmanaged.
251+
###PhantomJS permissions errors (OSX)
252+
If you get an error about not having permissions to execute PhantomJS during `make compile`, your machine is probably set up as managed and you'll need to ask IT to make it unmanaged.
255253
256254
###File handles - "Too many files open"
257255
258-
You may run into a "too many files open" error during
259-
compilation or reloading. You can find out how many file handles you are
260-
allowed per process by running `ulimit -n`. This can be quite low, e.g. 1024 on linux or 256 on Mac
256+
You may run into a "too many files open" error during compilation or reloading. You can find out how many file handles you are allowed per process by running `ulimit -n`. This can be quite low, e.g. 1024 on linux or 256 on Mac
261257
262258
####Linux
263259
@@ -304,28 +300,26 @@ Some packages (imagemin) are not working with newest Node.js. So if you want to
304300
###Memcached
305301
306302
Memcached `sudo apt-get install memcached` -
307-
(most of the time you do not want to use it as caching makes local development
308-
harder)
303+
(most of the time you do not want to use it as caching makes local development harder)
309304
310305
###Nginx
311306
312-
313307
If you are working on Identity or Discussion, Nginx must be installed and
314308
configured to correctly serve the application, please refer to
315309
[`/nginx/README.md`](./nginx/README.md) in this project.
316310
317311
###Vagrant
318312
319313
You can run the project with the supplied Vagrantfile - make sure you
320-
understand what vagrant is http://www.vagrantup.com/
314+
understand what Vagrant is http://www.vagrantup.com/
321315
322316
* Make sure you have [Virtualbox](https://www.virtualbox.org/wiki/Downloads)
323317
and [Vagrant](http://docs.vagrantup.com/v2/installation/index.html) installed
324318
(on Ubuntu `sudo apt-get install virtualbox vagrant`)
325-
* change directory into the folder where this README is located
319+
* Change directory into the folder where this README is located
326320
* `vagrant up` - this will take a while, make some coffee
327321
* You can now get onto the box by `vagrant ssh`
328-
* the project is located in /vagrant so `cd /vagrant`
322+
* The project is located in /vagrant so `cd /vagrant`
329323
* `./sbt`
330324
331325
@@ -369,14 +363,13 @@ Deployment uses the [Magenta](https://github.com/guardian/deploy) library.
369363
370364
You can debug your local Frontend application, by attaching a debugger.
371365
372-
* Start Simple Build Tool in debug mode by typing `./sbt --debug`
366+
* Start Simple Build Tool in debug mode by typing `./sbt --debug`.
373367
* Build and run your application. See "Running" for steps.
374368
* Use a debugger to attach to the remote Java process, on localhost:1044.
375369
376-
Any IDE debugger should be compatible. In IntelliJ, add a new Debug
377-
Configuration, based on the Remote default.
378-
Ensure the Transport is Socket, the Debugger mode is Attach, and the port is
379-
set to 1044.
370+
Any IDE debugger should be compatible. In IntelliJ, add a new Debug Configuration,
371+
based on the Remote default.
372+
Ensure the Transport is Socket, the Debugger mode is Attach, and the port is set to 1044.
380373
Start a new Debug session, and your breakpoints should be active.
381374
382375

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL