Giter Club home page Giter Club logo

Comments (9)

KickButtowski80 avatar KickButtowski80 commented on June 27, 2024 2

first, I realized I had a rails project inside my folder so when I deleted them I was able to create new rails app.
I was able to create rails app by runningrails new quest_lists --webpack=vue
and git remote add origin https://github.com/BizziQuest/QuestLists.git
I commit everything and git push origin as well.
FYI, I never created any project this way :)

from questlists.

skamansam avatar skamansam commented on June 27, 2024 1

You mentioned creating a Rails app in the current directory. This is probably not the best practice and is more difficult than adding a git remote. You can put the git repo wherever you want, but the rails app should be the top directory in the repo. All you really need to do is issue the following commands:

gem install rails && rails new --webpack=vue quest_lists
cd quest_lists
git add remote origin https://github.com/BizziQuest/QuestLists.git
git checkout -b "1-init-rails-project"
git add .
git commit -m "initialized rails app"
git push origin

from questlists.

KickButtowski80 avatar KickButtowski80 commented on June 27, 2024

I am confused about making the project.
Is it project like a folder inside the repo?

from questlists.

KickButtowski80 avatar KickButtowski80 commented on June 27, 2024

I am confused about making the project.
Is it project like a folder inside the repo?

I found this link https://blog.jasonmeridth.com/posts/create-rails-application-in-current-directory/ which sloves my issue

from questlists.

KickButtowski80 avatar KickButtowski80 commented on June 27, 2024

I am confused
I do not know what I need to do
I thought the link is gonna be the answer, yet I cannot make new project by rails new . --api

from questlists.

skamansam avatar skamansam commented on June 27, 2024

see documentation for the rails command line tools here: https://guides.rubyonrails.org/command_line.html . After initializing the app, add the git remote (this repo) by following the directions here: https://help.github.com/en/github/using-git/adding-a-remote

from questlists.

skamansam avatar skamansam commented on June 27, 2024

also, it may be easier to init webpack with vue, using the --webpack=vue option for rails new

from questlists.

skamansam avatar skamansam commented on June 27, 2024

It seems we need to not use the --api flag if we want to keep the frontend and backend together. We can work around it, but it may be easier for now, to skip this flag.

from questlists.

KickButtowski80 avatar KickButtowski80 commented on June 27, 2024

Even though I have already known all those commands , I went through the link found nothing new. As you see in following pic, I added to repo and beside there is not huge difference between git remote add vs git clone because I did git clone

init-issue

I feel you want me to make project QuestLists inside BizziQuest folder?

from questlists.

Related Issues (8)

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.