One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
After download Tomcat server and ODE deployable distribution (war).
Download an Apache Tomcat Server at http://tomcat.apache.org/.
Install Tomcat to a directory of your choice. For example "C:\tomcat-5.5.26." This directory will be referred to as TOMCAT_INSTALL_DIR.
We should change de app domain:
etc/
folder in your host machinehosts
file and change the old URL to end with .test (Exp: http://myappdevdomain.test)homestead.yaml
file
sites:
- map: http://myappdevdomain.test
to: /home/vagrant/Code/rise-api/public
REF _Ref511217882 \h
\# 0
as showed below:This short tutorial shows how to set up multiple different accounts of many git repository sites using SSH, all this tutorial and its commands were aplied in Ubuntu.
Generate SSH keys for each one of the sites you wanna connect:
ssh-keygen -o -t rsa -b 4096 -C "[email protected]"
Open terminal and execute to use postgres user
sudo -i -u postgres
Note that the terminal now is -> postgres@user:~$
Create a database executing the command createdb mydatabasename
Create an user executing the command createuser user -P
this is going to ask a password
Assign postgres role to the local db user executing the following command in psql
console:
master
and develop
git branch | grep -v "master\|develop" | xargs git branch -D
Delete local refs to deleted remote branchs.
In this gist we are going to use the pg_dump
tool to back up a remote postgres database and pg_restore
to restore the dump in a local database.
If postgres is not installed directly in your machine because you are usign it via docker containers, first you should install
the postgresql client
utility in your host machine, this client includes psql
and pg_dump
tools.