Coder Social home page Coder Social logo

mikhailfed68 / hexlet-basics Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hexlet-basics/hexlet-basics

0.0 0.0 0.0 11 MB

Interactive Programming Courses

Home Page: https://code-basics.com/

Shell 0.32% JavaScript 10.06% Ruby 51.86% CSS 3.90% Makefile 1.58% HTML 1.24% HCL 4.00% Dockerfile 0.46% SCSS 0.58% Slim 25.03% Jinja 0.98%

hexlet-basics's Introduction

github action status

hexlet-basics

Setup

Requirements

  • docker
  • docker compose
  • ruby >= 3.0.0
  • make

Steps

Add to /etc/hosts: 127.0.0.1 code-basics.test

Clone project

Some lsp servers are fully workable only when the root dir is the same inside and outside the container. That is why we set WORKDIR to /opt/projects/hexlet-basics. So, if it is possible, clone this project to that directory.

Run

make project-setup
make compose # run server
# open code-basics.test

make app-test # run tests

# load language
# make app-language-load L=php

make app-db-prepare # sometimes, when fixtures were changed

Production

Kube access

# make k8s-macos-setup or make k8s-ubuntu-setup
export DIGITALOCEAN_ACCESS_TOKEN=<your token>
make local-cluster-setup

Deploy

  • Create new tag via command:

    make next-tag
  • Wait notification about ready tag in Slack channel #sideprojects-code-auto or wait Github Actions

  • Change version in k8s/hb-app-chart/values.yaml and then:

    make -C k8s helm-upgrade-app

Hexlet Ltd. logo

This repository is created and maintained by the team and the community of Hexlet, an educational project. Read more about Hexlet.

See most active contributors on hexlet-friends.

hexlet-basics's People

Contributors

mokevnin avatar grozwalker avatar plugin73 avatar amshkv avatar artemrakov avatar ralder avatar morphizm avatar fey avatar frontstall avatar dependabot[bot] avatar richpeach-bot avatar lizachernyshova avatar f1eeman avatar prio65 avatar usernaimandrey avatar gpopov9 avatar chrtkv avatar ashikov avatar corsicanec82 avatar nunsez avatar zhabinka avatar ssssank avatar emp7yhead avatar psixodelik avatar alexkwyk avatar letzabelin avatar kustovaa avatar burenkov-anton avatar dzencot avatar sgmdlt avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.