-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.me
96 lines (72 loc) · 1.95 KB
/
README.me
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
Nathaniel Rand ©2017-2018
GoBlog: A blog template built using Go.
Images, Videos, Microposts, Broadcasts
----------------------------------
ENVIRONMENT
- Cloud9 Web IDE (Ubuntu)
TECHNOLOGY
- HTML5
- CSS3
--- Materialize CSS
- JavaScript
- GO 1.9.3 linux/amd64
--- Gorilla Toolkit
- GNU bash 4.3.11 (x86_64-pc-linux-gnu)
- PostgreSQL 9.3.13
- Google App Engine
----------------------------------
PROJECT DETAILS
- Account CRUD
- Login / Logout
-- Front-end validation
-- Back-end validation
-- Cookies
-- Salt & Pepper Hashing
- Password Reset (coming soon)
- Micropost CRUD
- Image CRUD
- Video CRUD
- Broadcast CRUD (coming soon)
----------------------------------
RUN APPLICATION / CONFIGURATION
--- Run Application
1. Start PostgreSQL DB
2. Edit Environment Variables
3. Start "Fresh" dynamic-reloader
--- (Start PostgreSQL DB / Enter DB)
$ sudo service postgresql start
$ sudo -u postgres psql
--- (Edit Environment Variables / Run Fresh Reloader)
$ cd src/muto
$ export PATH="$PATH:$GOPATH/bin"
$ fresh
$ (ALTERNATIVE) go run main.go
--- (Go Packages)
-- Golang
- golang.org/x/crypto/bcrypt
- golang.org/x/tools/refactor/rename
--- (Third-Party Packages)
-- Github
- github.com/pilu/fresh
- github.com/gorilla/mux
- github.com/gorilla/schema
- github.com/gorilla/csrf
- github.com/lib/pq
- github.com/jinzhu/gorm
- github.com/jinzhu/gorm/dialects/postgres
-- Icons
- Social: Freepik - http://www.freepik.com
--- (Update Go)
$ sudo rm -rf /opt/go
$ wget https://dl.google.com/go/go1.9.3.linux-amd64.tar.gz
$ sudo tar -C /opt -xzf go1.9.3.linux-amd64.tar.gz
$ go version
--- Dynamic Reloading: "Fresh" Third-Party Package
$ go get github.com/pilu/fresh
- Export environment variables (export PATH="$PATH:$GOPATH/bin")
- Create runner.conf file
- Start application via "fresh" command
--- Update Gcloud SDK
$ gcloud components update
-- Revert back to previous version
$ gcloud components update --version [91.0.1]