Archived
Introduce aurora-core
This commit is contained in:
112 files changed
+3872
No files matched your search
@@ -0,0 +1,32 @@
|
||||
Aurora Core Frontend Demo
|
||||
=========================
|
||||
|
||||
Demo implementation of a frontend conforming to [aurora-core](https://github.com/soldotno/aurora-core) specifications.
|
||||
|
||||
#### Install dependencies
|
||||
* [Install node.js (5.x)](https://nodejs.org/)
|
||||
* `npm install`
|
||||
|
||||
#### Development shellscript example:
|
||||
```sh
|
||||
#!/bin/sh
|
||||
export PORT=3000
|
||||
export HOSTNAME="localhost"
|
||||
export DEBUG="*,-babel"
|
||||
export NODE_ENV="development"
|
||||
export API_URL="http://localhost:3001"
|
||||
|
||||
npm run develop
|
||||
```
|
||||
|
||||
#### Production shellscript example:
|
||||
```sh
|
||||
#!/bin/sh
|
||||
export PORT=3000
|
||||
export HOSTNAME="localhost"
|
||||
export DEBUG="*,-babel"
|
||||
export NODE_ENV="production"
|
||||
export API_URL="http://localhost:3001"
|
||||
|
||||
npm run build && npm start
|
||||
```
|
||||
Reference in new issue
Block a user