Skip to content
No description, website, or topics provided.
JavaScript Ruby HTML PHP CSS CoffeeScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bbs-php
bbs-rails
README.md

README.md

bbs-php

2018-03-26 13 38 21

Use

It can be used by specifying DB and pass
https://blog.adachin.me/wordpress/archives/835


bbs-rails

2018-03-26 13 38 30

Use

Bulletin board running on docker server
http://docker.adachin.me:3000/
https://blog.adachin.me/archives/4140

  • Db users and passages are appropriate

How to start docker

1.adachin-maria

$ docker run --cpuset-cpus=1 --memory=1024mb --name adachin-maria -p 3306:3306 -e MYSQL_ROOT_PASSWORD=xxxxxx -e MYSQL_DATABASE=bbs -d adachin-maria:1027 --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci  

2.adachin-newbbs01

$ docker run -it -p 3000:3000 --cpuset-cpus=1 --memory=1024mb --name=adachin-newbbs01 adachin-newbbs01:1105 /bin/bash

3.adachin-newbbs01 deploy

$ docker inspect CONTAINER ID |grep IPAddress
$ docker exec -it xxxxxxx bash
# source ~/.bash_profile
# cd /var/www/
# mkdir bbs
# git clone git@github.com:RVIRUS0817/adachin_bbs.git
# cp -r bbs-rails bbs
# cd bbs
# vim config/databases.yml #add DB IP
# bundle install
# rake db:migrate
# nohup rails s -b 0.0.0.0 &

You can’t perform that action at this time.