diff options
| author | Kapil Viren Ahuja <k.v.ahuja@gmail.com> | 2017-02-10 14:32:46 +0530 |
|---|---|---|
| committer | Kapil Viren Ahuja <k.v.ahuja@gmail.com> | 2017-02-10 14:32:46 +0530 |
| commit | 69868a6899c09e13da52a2675349ccbab2858995 (patch) | |
| tree | 9eca815a8a4d4928c3cb5ed3591d894d1af100eb | |
| download | vaindock-69868a6899c09e13da52a2675349ccbab2858995.tar.gz vaindock-69868a6899c09e13da52a2675349ccbab2858995.zip | |
initial commit
| -rw-r--r-- | Readme.MD | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/Readme.MD b/Readme.MD new file mode 100644 index 0000000..9e0bf2b --- /dev/null +++ b/Readme.MD @@ -0,0 +1,59 @@ +# Setup Instructions + +## Clone the repository + +``` +docker-compose up -d (if you want to run in background) +``` + +http://localhost:5050/browser/ (fire up pgAdmin) + +Web: + - host: vainsocial_postgres_web + - port: 5432 + - user: vainweb + - password: vainweb + - db: vainsocial-web + + Raw: + - host: vainsocial_postgres_raw + - port: 5432 + - user: vainraw + - password: vainraw + - db: vainsocial-raw + + + Running the Vainsocial.com + > only needed if you are running the container for the first time + + ``` + docker-compose exec workspace bash + ``` + + > once logged into the container + + ``` + cd /var/www/vainsocial + cp .env.dev .env // you can select the .env file of your choice + composer update + php artisan migrate + ``` + +> the following will only work on a Unix based container. If you are using Windows, you will need to have NPM installed locally on your windows machine. + + ``` + npm update + npm run dev + ``` + + > Setup your hosts file by adding the following entry + ``` + 127.0.0.1 vainsocial.dev + ``` + + open browser and run the following to view the home page + ``` + vainsocial.dev/home + ``` + +
\ No newline at end of file |
