Giter Site home page Giter Site logo

saakshaat / personal_blog Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.15 MB

Journal so that I don't lose track of life.

Home Page: http://saaks-journal.herokuapp.com/

License: MIT License

Ruby 73.61% JavaScript 7.36% CSS 3.84% HTML 15.19%
ruby rails6 ruby-on-rails journal

personal_blog's Introduction

Journal

This is a journal that I'm using to document thoughts and events as I come across them.

Every instance can only be used by the creator through a login username and password which can be found at /app/controllers/application_controller.rb.

If you want your journal to be open to everyone, comment out Line 2: http_basic_authenticate_with :name => "", :password => ""

Rails

This is a Rails application so you must have Ruby on your system.

To use this, follow these steps:

  • clone the repository
  • install Ruby and Rails if you don't have it on your system
  • Run bundle install
  • Run rails db:migrate
    • if you get an error saying personal_blogs_development does not exists
      • run rails db:create
    • if you get an error saying the db already exists
      • run rails db:drop
  • Run rails s or rails server to view it on your localhost

Hosting and Deployment

If you want to deploy it to Heroku, follow these steps:

  • create your heroku account
  • install the heroku CLI
  • in your CLI run heroku login
    • sign in with your credentials
  • to create your dyno instance run heroku create
    • this creates an instance for you with a randomly generated name
  • to rename your app run heroku rename <new-name>
  • now point your git remote to Heroku with heroku git:remote <app-name>
  • add all the changed files to git with git add .
  • commit them git commit -am '<Message>'
  • finally push your code to heroku with git push heroku master

personal_blog's People

Contributors

saakshaat avatar

Stargazers

Harsh Deep avatar

Watchers

 avatar

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.