Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/ server Public

A powerful certificate generation and management system.

License

Notifications You must be signed in to change notification settings

heyrema/server

Repository files navigation

Rema

A powerful and scalable certificate generation and management system for individuals, businesses, and organizations.


Rema Logo

Instructions

See the wiki for instructions on setup and development.

For other discussions, see the discussions page.

Development (Docker)

Build the Docker image using Docker Compose.

docker compose build rema-dev

Start the container in the working directory.

docker compose up -d rema-dev

Attach to the container.

# The container might have a name
# different from what's mentioned below.
docker attach server-rema-dev-1

Install the dependencies.

cd /home/ubuntu/app/src
npm ci

Use npm run dev to run the development server.

Execution (Docker)

Use Docker Compose to spin up the containers. Make the necessary changes to docker-compose.yml, if any.

docker compose up -d

The application will run on port 8080 of the host machine.

Execution

Install the dependencies for node-canvas in your operating system as specified here.

# Ubuntu
sudo apt install build-essential libcairo2-dev \
	libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev

Install the dependencies for Rema locally.

cd src
npm ci

Set the desired environment variables.

# MongoDB URI (default: 'mongodb://localhost/rema')
export DB=mongodb://uri.to.mongodb/dbname
# Port (default: 8080)
export PORT=80
npm start

For more information, see the wiki.

Contributing

See the contribution guide.

Made with ❤ by Param.

Sponsor this project

Packages

No packages published

Contributors 2

AltStyle によって変換されたページ (->オリジナル) /