Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.43 KB

README.md

File metadata and controls

42 lines (27 loc) · 1.43 KB

entrylvl plataform

This is a blog dedicated to the entrylvl, feel free to use any of the code, but the logo and the images we reserve all the rights.

How do I manage the posts?

Go to /dashboard'`` them you will be redirected to a login page. You can use the a default creadentials if you ran db:setupordb:seed. Go to the Run` to further details.

Will are you writing your own blog, why not Medium?

Because we are IT people, it never perfect or enough other solution. Also we like to code. So there is that.

Can I post in the blog too?

For now we are not looking for new writters, maybe in the future. 👀

Run

You will need Ruby >= 2.4.0 and PostgreSQL >= 9.5.

$ gem install bundle
$ bundle install
$ bundle exec rake db:create # make sure postgresql is running
$ bundle exec rake db:migrate
$ bundle exec rake db:seed
$ bundle exec rails server

The db:setup utilize db:schema:load and since we are using custom types from postgres and ActiveRecord does not support on the schema.rb, the command fail to create the posts table. You need to run all the migrations, and that why we are not using db:setup.

Two articles and a user will be created to help through development.

# User credentials
email: [email protected]
password: 123456

Contributing

You can contribute by getting an issue and sending a PR. Please be clear with your intentions on the issue so everyone have the same expectations.