Giter VIP home page Giter VIP logo

hackerspace.by's Introduction

Web site of Minsk Hackerspace - https://hackerspace.by/

Документация в Wiki: https://github.com/minsk-hackerspace/hackerspace.by/wiki

Новички могут посоздавать [issues] (https://github.com/minsk-hackerspace/hackerspace.by/issues), а для прокачанных, как обычно, git и pull-request'ы.

Для разработки нужен Ruby версии 2.5 и выше, а также bundler (http://bundler.io/).

Как запустить локальную копию сайта:

git clone https://github.com/minsk-hackerspace/hackerspace.by
cd hackerspace.by
cp config/database.example.yml config/database.yml
bundle install --without production
bundle exec rails db:setup
bundle exec rails server

bundler устанавливает библиотеки глобально, поэтому если не хочется мусорить, стоит посмотреть на RVM.

После старта сайт будет доступен на http://localhost:3000/.

Тестовые пользователи: [email protected], [email protected], [email protected], [email protected] пароль '111111'.

Как запустить в виртуалке под Vagrant:

git clone https://github.com/minsk-hackerspace/hackerspace.by
cd hackerspace.by
vagrant up
vagrant provision

# запуск сервера (который можно убить и опять запустить)
vagrant ssh -c "cd /vagrant_share && bundle exec rails server --binding=0.0.0.0"

Запуск с помощью docker-compose:

docker-compose up

Запуск тэстаў

rails db:test:prepare
rspec spec/
  • калі структура базы не мянялася то каманду db:test:prepare можна не запускаць

hackerspace.by's People

Contributors

abitrolly avatar agutikov avatar alexshagov avatar andrewshadura avatar cardamo avatar che avatar davojta avatar dependabot[bot] avatar fl0p avatar gromina avatar hudbrog avatar jekhor avatar k2m30 avatar kartynnik avatar komzpa avatar lnvch avatar moskkir avatar pavel-klimenko avatar shrddr avatar springstorm5 avatar yahor avatar

Watchers

 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.