A restaurant social media platform web application that allows restaurant owners to advertise their restaurant, create blog posts, communicate with other restaurant owners, grow their audience and much more. Users can use this social media to explore new restaurants and foods.
Begin by cloning this repository onto your computer by git and cd
into it.
$ git clone https://github.com/MaorGornic/Restify.git my-app
$ cd my-app
- First run the startup.sh script by running
source startup.sh
. This will make a virtual environment for you, install the required dependencies for the project, and apply all the neccessary migrations.- After this step, you will need to run
source run.sh
to start the back-end as well as the front-end.
- After this step, you will need to run
- Alternatively, you can follow the steps below and do the installation manually. If you follow the manual setup, it is advised to create a virtual environment for this project.
- To create the enviornment, run
python -m virtualenv -p python3 venv
orpython3 -m virtualenv -p python3 venv
. To activate this environment, you will then runsource "venv/bin/activate"
if you are using Linux, orsource "venv/Scripts/activate"
if you are using Windows.
- To create the enviornment, run
-
First
cd
into the front-end directory and then runnpm install
to install all of the front-end's dependencies.-
After doing that, here is a list of useful commands:
-
npm start
- Starts the development server which is listening for connections here
-
npm run build
- Bundles the app into static files for production
-
npm test
- Starts the test runner
-
-
$ cd back-end
$ pip install -r requirements.txt #install all required packages
$ python manage.py migrate
$ python manage.py runserver