command
module
Version:
v0.0.0-...-91d8d9f
Opens a new window with list of versions in this module.
Published: Jun 24, 2019
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
book-store
Web app for book store
Build with source code:
Source code has been written by golang, html, css and js and use mongodb for database
So if you want to run without so many environment and config you can try run with docker below
- Setup-env:
-
Make local db:
- Setup docker and docker-compose
- Run command:
docker-compose -f docker-compose-db.yml up -d
-
Setup glide:
- Run with source code:
Run command: make run
Build with docker:
- Setup docker:
You can install docker by this turotial:
-
Setup local db:
- First you need to setup mongodb:
You can follow this tutorial for installing:
Mongodb need to be in port: 27017
- Create a database with name:
book_store
- Create a user with name:
admin
(In book_store
db)
- And password of user will be:
bs_1234
-
Pull image from dockerhub:
Pull image from dockerhub:
- Build and run docker image with
book-store
image
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
|
|
controller
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
model
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.