To start with I would really recommend downloading Homebrew if you do not have it already; it will make it easier to go through the installation process.
You will definitely need to install Node which also goes with npm (node package manager). Make sure to install the Current Version with the Latest Features over here - Download Node.
Next, download expo-cli:
npm install -g expo-cli
Verify if the installation was successful by
expo whoami
You should get:
"Not logged in"
If you are using Mac, you should also install Watchman - you can use Homebrew for that.
Visit the official Expo docs for get info on how to set up simulators (Note: you cannot use an iOS simulator if you are not using a Mac; nevertheless, I have heard there are ways one could do it)
First make sure to do the following:
cd node_modules
cd react-native-credit-card-input
npx react-codemod rename-unsafe-lifecycles
This should update some deprecated lifecycle methods in react-native-credit-card-input package
If you fork the repo and then pull it you can go into the project folder and
expo start
or
npm start
to start your app. You will also see the terminal, giving your further instructions on how to run the app on the emulators.
The following developers helped this idea become a reality:
If this is the first time working on the project:
git clone https://github.com/IQ01660/loundr.git
Otherwise, If you haven't created any branches yet, make sure to pull from the master branch:
cd loundr
and
git pull origin master
At this point make sure you do not make any changes to any files in the project folder on your local computer.
Then create a new branch with the following naming convention:
[screen name/component/file]-[the aspect you wanna change if not the whole file]-[any unique ids if needed]
Make sure that the branch name you are planning to create doesn't exist already. You can do this by clicking Branch: master (e.g.) and then clicking View all branches and then search for the one you want to create.
Now you can create a new branch with:
git branch your-branch
git checkout your-branch
and then switch to it.
Now you can do all the needed changes before with the standard:
git status
git add .
git commit -m "changed [file names] [maybe some aspects of it] and created [file names] / added some component in [file name]"
before pushing the changes to repo make sure you have the origin set up:
git remote -v
Then do
git push origin your-branch
It is important to nut push anything to master at this point
After this I will go and merge your-branch with master if needed through GitHub's pull request and then delete your-branch remotely. Once this is done and all conflicts are resolved you can go ahead and
git pull origin master
and then delete your local branch
git branch -d your-branch
If you want to work on a specific branch that already exists remotely and/or locally, then you should make sure to first create that branch locally (with the same name) if you do not have it already and then you can checkout that branch and do
git pull origin some-branch
Note: always check the branch you are on before making any changes to files or doing git adds and git commits