Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Zenika/Zenika-Resume

 
 

Repository files navigation

Zenika Resume

A Markdown resume editor based on Monod (see the original Monod readme below).

Production environment

The app is hosted on Clever Cloud. The authentication is provided by Auth0. Contact dreamlab@zenika.com to get access to either of those.

Development 🛠

ℹ️ Requires the Hasura CLI

  • Start attached services with docker-compose up -d postgres hasura
  • Apply database migrations with cd .hasura && hasura migrate apply

Running locally

⚠️ Requires Node.js 5.7, no more, no less

  • Start the back-end server with HASURA_GRAPHQL_URL=http://localhost:8080 npm start
    • You may use nodemon to enable live reload using HASURA_GRAPHQL_URL=http://localhost:8080 npx nodemon server/server.js
  • Start the front-end server with npm run dev

Running using Docker Compose 🐳

  • docker-compose up --build -d

This builds and runs the production version of the app. You'll need to rebuild to see changes.

Monod

This is the original Monod readme from which this project is forked. The following might or might not apply depending on how much the projects have diverged.

Circle CI

Monod is a (relatively) secure and offline-first Markdown editor we built at TailorDev in order to learn React.js (and a bunch of JavaScript tools/libraries). We mainly dedicated two Le lab sessions to this project:

Usage

Either you use our public instance at: https://monod.lelab.tailordev.fr/, or you host Monod at home, on your server, or on Heroku.

Deploy to Heroku

Installation

Production

$ git clone https://github.com/TailorDev/monod.git
$ npm install # will run `npm run build`
$ npm prune --production

We use this Dockerfile to run Monod in production (which runs npm run start from Monod root directory).

Development

$ git clone https://github.com/TailorDev/monod.git
$ npm install
$ npm run dev

The last command runs the development server at http://localhost:8080, and use Hot Module Replacement. You can override the default host and port through env (HOST, PORT).

You should also start the server by running:

$ MONOD_DATA_DIR=/path/to/data npm run start

MONOD_DATA_DIR is an environment variable that configures where the server is supposed to read/write Monod's data. It defaults to ./data/ (so be sure to create this directory if you run npm run start).

You are all set!

Other Commands

npm run build

Builds the client-side application in build/ (production ready)

npm run stats

Webpack build + generate a JSON file with metrics. We blogged on why it can be useful.

npm run lint

Runs ESLint.

npm run lint:fix

Fix all ESLint problems.

Requirements

We use node 5.8+ and npm 3.7+.

Contributing

Please, see CONTRIBUTING file.

Running the Tests

$ npm run test

You can also "watch" them:

$ npm run test:watch

Code coverage is available by running:

$ npm run cov

Contributor Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See CODE_OF_CONDUCT file.

License

Monod is released under the MIT License. See the bundled LICENSE file for details.

About

Markdown editor for resumes.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 89.0%
  • SCSS 5.8%
  • HTML 4.4%
  • PLpgSQL 0.3%
  • Dockerfile 0.2%
  • EJS 0.2%
  • Shell 0.1%