Skip to content

Wiki Application with version control and access based on associated organization.

Notifications You must be signed in to change notification settings

ewilkinsiii/wiki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SysDev Wiki

  • Ruby version

  • System dependencies Rails 5.0.6

  • VM Configuration

Go to Rails Dev Box and follow the instuction

cd ~/rails-dev-box/
vagrant up
vagrant ssh
java -version
# if none
apt-get install openjdk-6-jre
sudo add-apt-repository ppa:webupd8team/java
apt-get update
sudo apt-get install oracle-java7-installer
java -version
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.6.0.zip
unzip elasticsearch-6.6.0.zip
cd elasticsearch-0.90.7wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.1.4.zip
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.1.4.zip.sha512
shasum -a 512 -c elasticsearch-6.1.4.zip.sha512 
unzip elasticsearch-6.1.4.zip
cd elasticsearch-6.1.4/
./bin/elasticsearch

Open another terminal 
cd ~/rails-dev-box/
vagrant ssh

# test connection
curl -X GET 'http://localhost:9200'
# cd to project Sysdev-Wiki
# first time setup
bundle install
rails db:create
rails: db:migrate
rails db:seed
rails c
Acticle.reindex 
# This adds the items to elasticsearch with a new index
exit
# end first time setup
rails  s
# this starts the server
  • Database creation

     bundle install
     rails db:create
  • Seed Data

    rails db:seed
  • Database initialization

     rails db:reset
  • How to run the test suite

     bundle exec rspec ./spec/controllers/categories_controller_spec.rb:42

    42 represent that line

  • Services (job queues, cache servers, search engines, etc.)

     brew install elasticsearch
     brew services start elasticsearch
  • Deployment instructions

About

Wiki Application with version control and access based on associated organization.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published