You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Watchman [states](https://facebook.github.io/watchman/docs/install.html#mac-os-file-descriptor-limits) "*Only applicable on OS X 10.6 and earlier*". Though it's been observed this setting can remain incorrect on systems where the operation system was upgraded from a legacy version.
34
+
35
+
> Putting the following into a file named /etc/sysctl.conf on OS X will cause these values to persist across reboots:
36
+
37
+
```bash
38
+
kern.maxfiles=10485760
39
+
kern.maxfilesperproc=1048576
40
+
```
41
+
42
+
### Development
43
+
44
+
Configure the application for local development, add the following to your `config/local.js`:
45
+
```ts
46
+
module.exports= {
47
+
// an ally audit can use 100% of your browsers cpu, so use it wisely
48
+
A11Y_AUDIT: false,
49
+
// toggle on/off the engine applications you will be working on
50
+
COLLECTIONS_ENABLED: false,
51
+
// sourcemaps are useful if you need to step through typescript code in the browser
52
+
SOURCEMAPS_ENABLED: true,
53
+
};
54
+
```
55
+
30
56
*`ember serve`
31
-
* Visit your app at [http://localhost:4200](http://localhost:4200).
57
+
* View the ember app (alone) at [localhost:4200](http://localhost:4200)
58
+
59
+
To integrate with the legacy front end at [localhost:5000](http://localhost:5000), you have two options:
60
+
* Enable the waffle flags for each page in your [local OSF Admin](http://localhost:8001/admin/waffle/flag)
61
+
* Add routes to your `osf.io/website/settings/local.py`:
62
+
```py
63
+
EXTERNAL_EMBER_APPS= {
64
+
'ember_osf_web': {
65
+
# ...
66
+
'routes': [
67
+
'handbook',
68
+
'dashboard',
69
+
# ...
70
+
],
71
+
},
72
+
# ...
73
+
```
74
+
75
+
### Developer Handbook
76
+
77
+
To enable the [developer handbook](https://centerforopenscience.github.io/ember-osf-web/handbook) locally,
78
+
add the following to your `config/local.js`:
79
+
```ts
80
+
module.exports = {
81
+
HANDBOOK_ENABLED: true,
82
+
};
83
+
```
84
+
The handbook will be available at [http://localhost:4200/handbook](http://localhost:4200/handbook).
85
+
86
+
To enable (experimental) auto-generated docs in the handbook, you can also set
87
+
`HANDBOOK_DOC_GENERATION_ENABLED: true`in your local config.
32
88
33
89
### Code Generators
34
90
@@ -44,10 +100,6 @@ Make use of the many generators for code, try `ember help generate` for more det
0 commit comments