Skip to content

jmvanel/Grottocenter3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grottocenter 3

The Wiki database made by cavers for cavers!

Current production version is available here

Project overview

Travis Status Coverage Status code style: prettier

GC flyer

Installation

Software requirement:

  • NodeJS (min v8)
  • NPM (min 4.1.2)
  • Git client (see Git usage for configuration)
  • Docker
  • SailsJS (min v1)
  • Grunt

Clone the project on your computer:

> git clone https://github.com/GrottoCenter/Grottocenter3.git

Usage

Demonstration deployment

The demonstration deployment aims to launch locally an instance of Grottocenter to demonstrate its features.

Start the project:

> ./deployDemo.sh

Then go to homepage Or access to API documentation for example.

Development deployment

The development deployment aims to launch locally all the tools needed for the Grottocenter development.

Start the project:

> ./deployDev.sh
> npm install

Finally, run the server with live-reloading using:

> npm run start-hot

Tests

Run tests:

> npm run test

Check code coverage:

> npm run coverage

For more details, read the installation guide

Development

Caver's community needs YOU!

Yon can also join us on Slack! (using the QR-code above)

~~For more details, read the development guide

Deployment on AWS :

Grottocenter is evolving, its deployment is now based on AWS services. To help the usage of deployed services, we have put in place the following documentation :

React tools

storybook

Storybook is used to develop in isolation UI component. It can be start independently with npm run storybook

Git-rules

Overview

This project follows the conventional commit specification. It uses commitlint to enforce conventional commit messages.

Hooks

To prevent bad commit and push, we use the Git hooks Husky

Husky is used to:

Commit types

The commit linter accepts the following types:

  • feat: Adds a new feature to the application
  • tech: Adds a new technical feature to the application (ex: a new reusable component). Neither fixes a bug nor adds a feature
  • refactor: Refactor a current implementation without adding a new feature or fixing a bug
  • improvement: Improve a current implementation without adding a new feature or fixing a bug
  • fix: A bug fix
  • chore: Changes to the build process or auxiliary tools and libraries such as documentation generation
  • docs: Documentation only changes
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
  • test: Adding missing or correcting existing tests
  • revert: Reverts a previous work

Licence

GNU Affero General Public License v3.0

About

The version 3 of Grottocenter

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 85.7%
  • HTML 10.8%
  • Shell 2.3%
  • Other 1.2%