f65d4631c1 | ||
---|---|---|
config | ||
public | ||
src | ||
.env.sample | ||
.gitignore | ||
.travis.yml | ||
CODE_OF_CONDUCT.md | ||
ISSUE_TEMPLATE.md | ||
Procfile | ||
README.md | ||
config-heroku.yml | ||
config.yml | ||
package.json | ||
server.js | ||
yarn.lock |
README.md
Mozaïk amo dashboard
AMO Dashboard based on mozaik-demo.
Running locally
- yarn install
- node server.js
Adding environment variables
Some extensions requires additional settings, you
can add it via environment variables to avoid
modifying config files, you can use export
:
export GITHUB_API_TOKEN="xxxxx"
node server.js config.yml
or prepend it to the command:
GITHUB_API_TOKEN="xxxxx" node server.js config.yml
or create an .env
file if you want a more permanent solution:
# .env
GITHUB_API_TOKEN=xxxxx
node server.js config.yml
Note that .env
file is in .gitignore
to prevent pushing
sensitive data to GitHub.