mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
add env vars to app.json; improve installation instructions
This commit is contained in:
parent
e437b90b51
commit
feacb19d76
14
README.md
14
README.md
@ -17,13 +17,17 @@ Please [visit the website](https://crafatar.com) for details.
|
|||||||
* You can follow us on [@crafatar](https://twitter.com/crafatar)
|
* You can follow us on [@crafatar](https://twitter.com/crafatar)
|
||||||
* You can [join us](https://webchat.esper.net/?channels=crafatar) in #crafatar on irc.esper.net.
|
* You can [join us](https://webchat.esper.net/?channels=crafatar) in #crafatar on irc.esper.net.
|
||||||
|
|
||||||
## Install
|
## Installation
|
||||||
|
|
||||||
|
#### Heroku
|
||||||
[](https://heroku.com/deploy)
|
[](https://heroku.com/deploy)
|
||||||
* Ensure Cairo is [installed](https://github.com/Automattic/node-canvas/wiki).
|
|
||||||
* Clone the repository.
|
#### Dokku
|
||||||
|
Deploy with [dokku-redis](https://github.com/ohardy/dokku-redis#redis-plugin-for-dokku) installed.
|
||||||
|
|
||||||
|
#### Local
|
||||||
|
* [Install](https://github.com/Automattic/node-canvas/wiki) Cairo.
|
||||||
* `npm install`
|
* `npm install`
|
||||||
* `cp "modules/config.example.js" "modules/config.js"`
|
* Start `redis-server`
|
||||||
* Ensure a `redis-server` is running
|
|
||||||
* `npm start`
|
* `npm start`
|
||||||
* Access [http://localhost:3000](http://localhost:3000)
|
* Access [http://localhost:3000](http://localhost:3000)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user