The easiest way to develop on Subscripshare is to install:
Make sure your Docker installation is working fine by typing docker ps
. Under Mac OS X you may have to run some commands after installing to get Docker working in your shell.
Make sure your user is part of the docker group to avoid running all commands as root.
For Mac OS X users, the project folder must be in a subfolder of /Users, due to an issue in docker-machine.
Clone the project
Specify environment variables in docker-compose.yml
docker-compose run --rm api npm install
docker-compose up
Follow the Setup guide to get started.
To learn how to structure your application and use the Redux application architecture, read the Architecture guide for more details.
First of all:
cd client
react-native run-ios
(If using the stock emulator, the emulator must be running)
react-native run-android
npm test
npm run test:watch
npm run coverage
Read the Testing guide for more information about writing tests.
Read the Deployment guide to learn how to deploy the application to test devices, app stores, and how to use Code Push to push updates to your users immediately.