Code Monkey home page Code Monkey logo

golangflow's Introduction

Build Status

Welcome to Buffalo!

Thank you for choosing Buffalo for your web development needs.

Database Setup

It looks like you chose to set up your application using a postgres database! Fantastic!

The first thing you need to do is open up the "database.yml" file and edit it to use the correct usernames, passwords, hosts, etc... that are appropriate for your environment.

You will also need to make sure that you start/install the database of your choice. Buffalo won't install and start postgres for you.

Create Your Databases

Ok, so you've edited the "database.yml" file and started postgres, now Buffalo can create the databases in that file for you:

$ buffalo db create -a

Starting the Application

Buffalo ships with a command that will watch your application and automatically rebuild the Go binary and any assets for you. To do that run the "buffalo dev" command:

$ buffalo dev

If you point your browser to http://127.0.0.1:3000 you should see a "Welcome to Buffalo!" page.

Congratulations! You now have your Buffalo application up and running.

What Next?

We recommend you heading over to http://gobuffalo.io and reviewing all of the great documentation there.

Good luck!

Powered by Buffalo

golangflow's People

Contributors

bscott avatar dependabot[bot] avatar dvrkps avatar markbates avatar paganotoni avatar stanislas-m avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

golangflow's Issues

RSS Posts Links should be fully qualified.

As it means you can't click on the links in your reader - it thinks they're at the same domain name as the reader.

I've been working on a patch, but am having problems bending Buffalo to my will - will keep trying and submit when I have a moment.

Buffalo creating db but not tables

It appears buffalo is having trouble creating the db from the project?

LAMU02TJ7PHGTFM:golangflow plamar$ buffalo dev
buffalo: 2018/02/02 12:51:12 === Rebuild on: :start: ===
buffalo: 2018/02/02 12:51:12 === Running: go build -v -i -o tmp/golangflow-build (PID: 45229) ===
github.com/gobuffalo/golangflow
buffalo: 2018/02/02 12:51:14 === Building Completed (PID: 45229) (Time: 1.742008014s) ===
buffalo: 2018/02/02 12:51:14 === Running: tmp/golangflow-build (PID: 45243) ===
2018/02/02 12:51:14 Starting golangflow on port 3000
DEBU[2018-02-02T12:51:29-05:00] SELECT posts.content, posts.created_at, posts.id, posts.title, posts.updated_at, posts.user_id FROM posts AS posts ORDER BY created_at desc LIMIT 20 OFFSET 0
INFO[2018-02-02T12:51:29-05:00] / content_type=text/html db=1.657722ms duration=19.929138ms human_size="0 B" method=GET params="{}" path=/ request_id=5b1fbea971-fb1c3dcf65 size=0 status=0
ERRO[2018-02-02T12:51:29-05:00] pq: relation "posts" does not exist content_type=text/html db=1.657722ms duration=19.929138ms human_size="0 B" method=GET params="{}" path=/ request_id=5b1fbea971-fb1c3dcf65 size=0 status=0
ERRO[2018-02-02T12:51:29-05:00] path not found: /favicon.ico

Connecting to a Mysql db

Hi,
I have reconfigured database as in the attached yml to use mysql.
Also the database creation fails and still talks about " creating PostgreSQL database "
But in the MYSQL database it actually creates the database, but no tables are populated.

buffalo db create -a

v3.51.3

created database golangflow_development
Usage:
buffalo db create [flags]
...

ERRO[0000] Error: couldn't create database golangflow_test: error creating PostgreSQL database golangflow_test: pq: password authentication failed for user "postgres"


/Documents/projects/src/github.com/bscott/golangflow# cat database.yml
development:
dialect: mysql
database: golangflow_development
user: test
password: test
host: 127.0.0.1
pool: 5

test:
url: {{envOr "TEST_DATABASE_URL" "postgres://postgres:[email protected]:5432/golangflow_test?sslmode=disable"}}

production:
url: {{envOr "DATABASE_URL" "postgres://postgres:[email protected]:5432/golangflow_production?sslmode=disable"}}
root@-GE72-2QF: /Documents/projects/src/github.com/bscott/golangflow#

Create Short links Analytics Page

Golangflow.io uses Buffalo's Background workers to send a new tweet for each Post. Tweet's uses Goo.gl URL shorten service, need a page to view stats.

Please add Topics to repo

Hi, I working on a project that will be announced soon to help with the discovery of these sorts of tools. Would you please mind adding some "Topics" to this repo? Thanks.

On GitHub you can use the "Topics" feature of your repository to tag your projects with gobuffalo and other category tags.

There are a few more tags that you can use that will help the Buffalo Toolkit better categorize your project. You can add as many of this tags to your project as is suitable. Please try to refrain from using more than just a few tags.

  • plugin - Plugins
  • generator - Generators
  • middleware - Middleware
  • pop - Pop/Soda
  • templating - Templating
  • grifts - Grift Tasks
  • deployment - Deployment
  • testing - Testing
  • example - Example Apps
  • worker - Workers/Adapters
  • webpack - Webpack/Front-End

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.