Comments (9)
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.
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.
I am confused about making the project.
Is it project like a folder inside the repo?
from questlists.
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.
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.
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.
also, it may be easier to init webpack with vue, using the --webpack=vue
option for rails new
from questlists.
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.
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
I feel you want me to make project QuestLists inside BizziQuest folder?
from questlists.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from questlists.