A front end for osf.io.
You will need the following things properly installed on your computer.
git clone https://github.com/CenterForOpenScience/ember-osf-web.git
cd ember-osf-web
yarn --frozen-lockfile
Watchman states "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.
Putting the following into a file named /etc/sysctl.conf on OS X will cause these values to persist across reboots:
kern.maxfiles=10485760
kern.maxfilesperproc=1048576
Configure the application for local development, add the following to your config/local.js
:
module.exports = {
// an ally audit can use 100% of your browsers cpu, so use it wisely
A11Y_AUDIT: false,
// toggle on/off the engine applications you will be working on
COLLECTIONS_ENABLED: false,
// sourcemaps are useful if you need to step through typescript code in the browser
SOURCEMAPS_ENABLED: true,
};
ember serve
To integrate with the legacy front end at localhost:5000, you have two options:
osf.io/website/settings/local.py
:
EXTERNAL_EMBER_APPS = {
'ember_osf_web': {
# ...
'routes': [
'handbook',
'dashboard',
# ...
],
},
# ...
Make use of the many generators for code, try ember help generate
for more details
ember test
ember test --server
yarn lint
yarn lint:fix
ember build
(development)ember build --environment production
(production)从本文开始,将为大家介绍路由(route),如果你看过前面的《Ember.js 入门指南——{{link-to}} 助手》这篇文章应该初步了解了route。不过在这篇文章中只是简单介绍了路由是定义、路由层次,更深入的route将从本文开始逐一介绍。 当用户使用你的应用时,应用要在不同的状态之间切换。Ember提供了很多工具用于管理那些因应用规模改变而改变的状态。 讲ro
Ember.js提供了一个开源标准的应用程序架构的JavaScrip客户端t框架,用于开发Web应用程序并使用MVC(模型 - 视图 - 控制器)架构模式。在Ember.js中,路由用作模型,句柄模板作为视图,控制器处理模型中的数据。 MyApp.president = Ember.Object.create({ firstName: "Barack", lastName: "Obama", fu
在was中使用EMF的时候,报错“java.lang.IllegalArgumentException: resolve against non-hierarchical or relative base” 今天搜了半天没找到,后来一层一层看下去大概原因是 Class.getResource时候获取的URL路径,在webshpere中是wsjar:file/xxxx/xxx.jar!xxx/xxx
ember-osf-preprints master Build Status: develop Build Status: This is the codebase for OSF preprints.This guide will help you get started if you're interested. Prerequisites You will need the followi
OSF 是一个开放、自由、分享的内容社区类网站原型,实现多用户,内容的发布、评论、喜欢,消息传递,Feed流,标签分类等内容社区类网站通用功能。你可以用OSF构建一个单纯的社交网站,也可以加入标签成为一个兴趣社区,甚至两者皆可,这一切OSF都已为你提供。 主要功能 邮箱注册激活验证 多用户、用户间互相关注 标签系统 Feed流 关注用户Feed 关注标签Feed 说说、日志、相册 评论、回复 通知
Ember检查器是一个浏览器插件,用于调试Ember应用程序。 灰烬检查员包括以下主题 - S.No. 灰烬检查员方式和描述 1 安装Inspector 您可以安装Ember检查器来调试您的应用程序。 2 Object Inspector Ember检查器允许与Ember对象进行交互。 3 The View Tree 视图树提供应用程序的当前状态。 4 检查路由,数据选项卡和库信息 您可以看到检查
英文原文: http://emberjs.com/guides/getting-ember/index/ Ember构建 Ember的发布管理团队针对Ember和Ember Data维护了不同的发布方法。 频道 最新的Ember和Ember Data的 Release,Beta 和 Canary 构建可以在这里找到。每一个频道都提供了一个开发版、最小化版和生产版。更多关于不同频道的信息可以查看博客
ember-emojione ember-emojione is your emoji solution for Ember, based on the EmojiOne project. EmojiOne version 2 is used, which is free to use for everyone (CC BY-SA 4.0), you're only required to giv
Ember 3D Ember 3D is an Ember addon for using Three.js - an easy to use, lightweight, javascript 3D library. It is designed to: Prescribe a solid file structure to Three.js code using ES6 modules. Ena