-
sudo service solr stop
-
sudo rm -r /var/solr
-
sudo rm -r /opt/solr-5.3.1
-
sudo rm -r /opt/solr
-
sudo rm /etc/init.d/solr
- Check (SOLR Prequisite)[https://lucene.apache.org/solr/guide/8_6/solr-system-requirements.html]
Note
: for Windows user you might want to use Cygwin to run solr commands. - Download (SOLR)[https://lucene.apache.org/solr/downloads.html]
Note
: for windows user download the.zip
file - Unzip the file
- Run
bin/solr start -p 8983
- Create collection run
bin/solr create_collection -c collection1 -p 8983
- cd to you folder
- run
git init
- run
git add .
- run
git commit -m 'initial commit'
- run
git remote add origin {reportistoryUrl}
- run
git pull origin master
- Make new Forge Site
- Remove "public" Web Directory
- Check "Create Database" (you may want to do this for your staging site)
- Click "Add Site" (Wait for the site to finish to then configuration)
- Click your new site
- Click "Git Repository" (choose your provide, repository url, and what branch by deafult it is master)
- Click "Install Repository"
- Add the script below in the bottom
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git filter-branch --tree-filter "rm -rf node_modules" --prune-empty HEAD | |
git for-each-ref --format="%(refname)" refs/original/ | xargs -n 1 git update-ref -d | |
echo node_modules/ >> .gitignore | |
git add .gitignore | |
git commit -m 'Removing node_modules from git history' | |
git gc | |
git push origin master --force |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Stack.yaml | |
extra-deps: | |
- git: https://github.com/MonrealRyan/sendgrid-hs.git | |
commit: 13e28bd2aadf0e0ce092547292769a53f28a373e | |
-- Helper handler | |
{-# LANGUAGE DeriveDataTypeable #-} | |
{-# LANGUAGE CPP #-} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Budzu2 | |
version: "0.0.0" | |
dependencies: | |
# Due to a bug in GHC 8.0.1, we block its usage | |
# See: https://ghc.haskell.org/trac/ghc/ticket/12130 | |
- base >=4.8.2.0 && <4.9 || >=4.9.1.0 && <5 | |
# version 1.0 had a bug in reexporting Handler, causing trouble |
Note: This example is derive from the answer from (stackoverflow)[https://stackoverflow.com/questions/35976448/how-to-access-laravel-homestead-on-other-devices#43144708] by @totymedli. The purpose of this gist is for my personal referrence but everyone is welcom :) just give the credit to the real author.
Let say, in your server computer where you host your laravel project you have the following IP Address
mapping in your host
file:
192.168.10.10 poinOfSale.dev
192.168.10.10 invertory.dev
And let say that the server IP Address
is 192.168.0.204
.
STEPS IN INSTALLING KETER
- Create a swap, type the following code: (Use sudo if your not in root user)
dd if=/dev/zero of=/tmp/swap bs=1M count=1024 mkswap /tmp/swap swapon /tmp/swap This is to make sure the our 1gb memory will not run out of memory.
- TRY to install it using this code