- homebrew
- install postgresql
- install redis
- install asdf
 
- setup postgresql
- CREATE USER postgres SUPERUSER; CREATE DATABASE postgres WITH OWNER postgres;
 
- setup asdf
- edit ~./zshrcand add line to EOF. $HOME/.asdf/asdf.sh
 
- edit 
- setup node, elixir
- asdf plugin add nodejs
- asdf plugin add erlang
- asdf plugin add elixir
 
- install project specific versions of node and elixir
- change directories into epochtalk-vueproject
- run asdf install
 
- change directories into 
- checkout epoch git clone git@github.com:epochtalk/epoch.git
- change directories to epoch project cd epoch
- make sure correct version of elixir is installed asdf install
- install deps mix deps.get
- run epochtalk database migration mix ecto.setup
- checkout epochtalk git clone git@github.com:epochtalk/epochtalk.git
- change directories to epochtalk project cd epochtalk
- install deps yarn install
- install project specific versions of system deps asdf install
- create admin user
- create-user <username> <email> --password <password> --admin
- if this fails, attempt to start epochtalk server with and try again
 
- copy example.envto.env
- edit .env- comment out line 40# WEBSOCKET_SERVER_KEY_NAME=server.key
- comment out line 41# WEBSOCKET_SERVER_CERT_NAME=server.crt
- comment out first section of emailer options lines 52-62- fill out section section your email information (need to check email provider for info on how to setup smtp)
 
- change line 34WEBSOCKET_SECURE=truetoWEBSOCKET_SECURE=false
 
- comment out 
- enable cors so vue project can access server, edit /server/server-options.js- inside of the routeobject, add the following code
 cors: { origin: ['*'], additionalHeaders: ['cache-control', 'x-requested-with'] },
- inside of the 
- start the server yarn serve
- change directories into epochtalk-vue
- setup environment variables cp example.env .env
- run the server yarn serve
- to access new site visit localhost:8000
- to access old site/admin panel visit localhost:8080
yarn install
yarn serve
yarn build
yarn lint