您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
toj 20369924c0 :gear: omitting backend build step from drone 4 年前
backend :recycle: reworking tests to use new prescore tables and tags | tweaking broken validators 4 年前
deployment :gear: force removal of package-lock in post-receive hook 4 年前
docs :pencil: adding docs on how some process works 4 年前
frontend :recycle: creating complete profiles with description, image, language, etc responses 4 年前
public :tada: first commit 5 年前
.drone.yml :gear: omitting backend build step from drone 4 年前
.gitignore :sparkles: including a generated matrix of scores 4 年前
README.md :gear: adjusting post-receive and testing remote push 4 年前

README.md

:fist: SIIMEE

Build Status

Almost everything you need to develop.

:wrench: Tooling

Node.js and npm

We use javascript here. .eslintrc and .prettierrc configs are provided to help make your code nice to read.

Docker and docker-compose

Docker manages packaging for development and testing, environment variable things, and not much else.

git

We use git for source control but you knew that already.

:pencil: Full Documentation

See ./docs

:battery: Installation & Getting Started

  1. Navigate to the ./backend directory and run npm install to install backend dependencies
  2. Copy the server environmental variables sample file from ./server/.env.sample and remane it to ./server/.env
  3. Start the minimal docker-compose file provided to bootstrap a development database using the command docker-compose --env-file ./server/.env up -d
  4. Create tables and populate the database with some test data using npm run migrate and npm run seed from the ./backend directory
  5. Start the backend using npm run start
  6. Navigate to the ./frontend directory and run npm install
  7. Start the frontend development server with npm run dev
  8. User a web browser to check http://localhost:3000

:ship: CI/CD

Included is a drone config, and some recommended steps to build.

  • You MUST activate the pipeline
  • Add the id_rsa of the drone host to appropriate key in the pipeline secrets under the name push_deploy_key

You also need to setup a post-receive hook on the host server.

  • On your development machine, add the target host as a remote git remote add </opt/staging/siimee.git> staging master
  • Login to the remote machine and setup a bare git repo on git init --bare </opt/staging/siimee.git>
  • Copy the post-receive hook file into the </opt/staging/siimee.git/hooks/> directory

:satellite: Technology

Frontend

See ./frontend/README.md

Backend

See ./backend/README.md

Database

Designed around MariaDB hosted by: PlanetScale

:scroll: License

UNLICENSED